aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-17 18:47:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-17 18:47:37 +0000
commit0e197b417ae104d1c02139e899af810a867be42f (patch)
treee72b519925d553c5b79e86e2e172940dc21c7b75 /status.c
parentff61eee294124bc83f399e0027de1c9d7a9d9e86 (diff)
downloadrtmux-0e197b417ae104d1c02139e899af810a867be42f.tar.gz
rtmux-0e197b417ae104d1c02139e899af810a867be42f.tar.bz2
rtmux-0e197b417ae104d1c02139e899af810a867be42f.zip
Tidy a few warnings.
Diffstat (limited to 'status.c')
-rw-r--r--status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/status.c b/status.c
index bdb7e303..9fed1409 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.63 2009-01-15 23:42:21 nicm Exp $ */
+/* $Id: status.c,v 1.64 2009-01-17 18:47:37 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -44,7 +44,7 @@ status_redraw(struct client *c)
struct session *s = c->session;
struct winlink *wl;
struct window_pane *wp;
- struct screen *sc;
+ struct screen *sc = NULL;
char *left, *right, *text, *ptr;
size_t llen, rlen, offset, xx, yy, sy;
size_t size, start, width;