aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/UUID.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-20 05:49:25 +0200
committerSven Gothel <[email protected]>2020-10-20 05:49:25 +0200
commit16b45949632960c9e4ccfc10b44f3cd4433cf78f (patch)
treeab0a77c1a8eef58f709062747cbbec85a734dd47 /src/direct_bt/UUID.cpp
parent1f6e924fe05ed45bfa4d0d901af2c4df6c1abab5 (diff)
Use -Wshadow: Shadowing (or local scope override) often causing sloppy bugs, avoid 1/2 (direct_bt)
Another shadow bug fixed: UUID string ctor in UUID.cpp
Diffstat (limited to 'src/direct_bt/UUID.cpp')
-rw-r--r--src/direct_bt/UUID.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/direct_bt/UUID.cpp b/src/direct_bt/UUID.cpp
index 7252f02f..5b3a744c 100644
--- a/src/direct_bt/UUID.cpp
+++ b/src/direct_bt/UUID.cpp
@@ -176,7 +176,6 @@ uuid128_t::uuid128_t(const std::string str)
std::string msg("UUID128 string not in format '00000000-0000-1000-8000-00805F9B34FB' but "+str);
throw jau::IllegalArgumentException(msg, E_FILE_LINE);
}
- jau::uint128_t value;
// sscanf provided host data type, in which we store the values,
// hence no endian conversion