summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:17:54 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:17:54 -0700
commit2f5d1e29f5a803ba2417d6fe20782c05ed932612 (patch)
treebca31dc844969eecc419b03164bef2b7d582a68e /src/session.c
parentef39179b9fe6d13f7e81098edfc10711c8b40948 (diff)
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 <jeremyhu@apple.com>
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
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)