cppcheck reduce variable scopes

This commit is contained in:
Philippe Teuwen committed 2021-09-05 23:42:14 +02:00
1 parent d37547917e
commit 9f36ce1b9d
15 files changed
+102 -140

No files matched your search

+1 -2
View File
@@ -329,10 +329,9 @@ static void *bf_thread(void *thread_arg) {
memcpy(bytes_to_recover, targ->bytes_to_recover, sizeof(bytes_to_recover));
memcpy(keytable, targ->keytable, sizeof(keytable));
int found;
while (!(brute & endmask)) {
found = __atomic_load_n(&loclass_found, __ATOMIC_SEQ_CST);
int found = __atomic_load_n(&loclass_found, __ATOMIC_SEQ_CST);
if (found != 0xFF) return NULL;