Skip to content

Commit 9e7fbb1

Browse files
committed
lyricwiki-qt: Fix uninitialized values found by Coverity.
1 parent df3a077 commit 9e7fbb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lyricwiki-qt/lyricwiki.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ struct LyricsState {
6363
Local,
6464
LyricWiki,
6565
LyricsOVH
66-
} source;
66+
} source = None;
6767

68-
bool error;
68+
bool error = false;
6969
};
7070

7171
static LyricsState g_state;

0 commit comments

Comments
 (0)