summary refs log tree commit diff
path: root/redo.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-09-01 15:36:28 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-09-01 15:36:28 +0200
commit9a20c30c166ad7789573376dedad2dda5ebeb646 (patch)
tree7cdcd0e63697a5f427b13220a53109fc9c12d39f /redo.c
parent63f96b514455ac9433a52bff2c2e49218b0d9c0d (diff)
downloadredo-c-9a20c30c166ad7789573376dedad2dda5ebeb646.tar.gz
redo-c-9a20c30c166ad7789573376dedad2dda5ebeb646.tar.xz
redo-c-9a20c30c166ad7789573376dedad2dda5ebeb646.zip
tweak
Diffstat (limited to 'redo.c')
-rw-r--r--redo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/redo.c b/redo.c
index f4e256f..dd9cf89 100644
--- a/redo.c
+++ b/redo.c
@@ -742,8 +742,7 @@ main(int argc, char *argv[])
 
         if (argc == 0) {
 		argc = 1;
-		char *all = (char *) "all";
-		argv[0] = all;   // XXX safe?
+		argv[0] = (char *) "all";   // XXX safe?
         }
 
 	dir_fd = open(".", O_RDONLY | O_DIRECTORY | O_CLOEXEC);