From 1f0aa910c83a1505a2f1f683f8c632558c7fcd16 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Wed, 25 Aug 2021 08:48:57 +0200 Subject: [PATCH] Renaming --- src/raspberrypi/rasctl.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/raspberrypi/rasctl.cpp b/src/raspberrypi/rasctl.cpp index 26f20355..655a53b5 100644 --- a/src/raspberrypi/rasctl.cpp +++ b/src/raspberrypi/rasctl.cpp @@ -221,27 +221,27 @@ void CommandServerInfo(const string& hostname, int port) cout << " Properties: "; if (types_properties.properties_size()) { for (int j = 0; j < types_properties.properties_size(); j++) { - bool has_feature = false; + bool has_property = false; PbDeviceProperties properties = types_properties.properties(j); if (properties.read_only()) { cout << "Read-only"; - has_feature = true; + has_property = true; } if (properties.protectable()) { - cout << (has_feature ? ", " : "") << "Protectable"; - has_feature = true; + cout << (has_property ? ", " : "") << "Protectable"; + has_property = true; } if (properties.removable()) { - cout << (has_feature ? ", " : "") << "Removable"; - has_feature = true; + cout << (has_property ? ", " : "") << "Removable"; + has_property = true; } if (properties.lockable()) { - cout << (has_feature ? ", " : "") << "Lockable"; - has_feature = true; + cout << (has_property ? ", " : "") << "Lockable"; + has_property = true; } if (properties.supports_file()) { - cout << (has_feature ? ", " : "") << "Image file support"; + cout << (has_property ? ", " : "") << "Image file support"; } cout << endl; }