From 2f5d1e29f5a803ba2417d6fe20782c05ed932612 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 11 May 2011 22:17:54 -0700 Subject: Silence uninitialized warning session.c: In function 'ReadWinConfigFile': session.c:554: warning: 'version' may be used uninitialized in this function Signed-off-by: Jeremy Huddleston --- src/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/session.c') diff --git a/src/session.c b/src/session.c index 1a26f02..297f207 100644 --- a/src/session.c +++ b/src/session.c @@ -551,7 +551,7 @@ char *filename; FILE *configFile; TWMWinConfigEntry *entry; int done = 0; - unsigned short version; + unsigned short version = 0; configFile = fopen (filename, "rb"); if (!configFile) -- cgit v1.2.3