[FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com>
This commit is contained in:
@@ -139,7 +139,7 @@ static int32_t lfrfid_worker_thread(void* thread_context) {
|
||||
|
||||
while(true) {
|
||||
uint32_t flags = furi_thread_flags_wait(LFRFIDEventAll, FuriFlagWaitAny, FuriWaitForever);
|
||||
if(flags != FuriFlagErrorTimeout) {
|
||||
if(flags != (unsigned)FuriFlagErrorTimeout) {
|
||||
// stop thread
|
||||
if(flags & LFRFIDEventStopThread) break;
|
||||
|
||||
@@ -161,4 +161,4 @@ static int32_t lfrfid_worker_thread(void* thread_context) {
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user