diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-23 13:34:47 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-23 13:34:47 -0400 |
commit | b5ba9baf6a5806e7fea0d116df627d4e0b0e77c1 (patch) | |
tree | 2315f6c6dbcd168251edb7668d2bd7094a083636 | |
parent | baf5848af2fa855e01145a3d93a172672080f12e (diff) | |
download | xombrero-b5ba9baf6a5806e7fea0d116df627d4e0b0e77c1.tar.gz |
Initialize some variables to remove warnings.
-rw-r--r-- | history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/history.c b/history.c index 4757906..dc3e6f8 100644 --- a/history.c +++ b/history.c @@ -94,7 +94,7 @@ restore_global_history(void) { char file[PATH_MAX]; FILE *f; - gchar *uri, *title, *stime, *err = NULL; + gchar *uri, *title = NULL, *stime = NULL, *err = NULL; time_t time; struct tm tm; const char delim[3] = {'\\', '\\', '\0'}; |