[easytag/wip/clang-analyzer: 5/14] Avoid comparison with uninitialized values
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/clang-analyzer: 5/14] Avoid comparison with uninitialized values
- Date: Mon, 12 Aug 2013 15:45:38 +0000 (UTC)
commit ae3ed103659887647e0c5edfe01ea4387557fe40
Author: David King <amigadave amigadave com>
Date: Sat Aug 10 23:16:20 2013 +0100
Avoid comparison with uninitialized values
Found with the Clang static analyzer.
src/misc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index f477204..3893452 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -3290,9 +3290,9 @@ static void
Load_Filename_Set_Filenames (void)
{
gint row;
- ET_File *ETFile;
+ ET_File *ETFile = NULL;
File_Name *FileName;
- gchar *list_text;
+ gchar *list_text = NULL;
gint rowcount;
gboolean found;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]