aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-02-12 20:24:38 +1300
committerJelmer Vernooij <jelmer@samba.org>2006-02-12 20:24:38 +1300
commit58bc4e69967a8feec0a60dfab716985191c12817 (patch)
tree6838f4c0ee5cd3265802f06ed8dc1a3d40f50de3 /unix.c
parentec3e4116687f5e990e6d24e2c79e629665ac5e7e (diff)
Fix silly warning
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index e59c341a..89bd65bf 100644
--- a/unix.c
+++ b/unix.c
@@ -41,7 +41,7 @@ static void sighandler( int signal );
int main( int argc, char *argv[], char **envp )
{
int i = 0;
- char *old_cwd;
+ char *old_cwd = NULL;
struct sigaction sig, old;
memset( &global, 0, sizeof( global_t ) );