summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/weechat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/weechat.c b/src/core/weechat.c
index 5ad5cf94c..f74598ad5 100644
--- a/src/core/weechat.c
+++ b/src/core/weechat.c
@@ -189,7 +189,7 @@ weechat_parse_args (int argc, char *argv[])
{
int i;
- weechat_argv0 = (argv && argv[0]) ? strdup (argv[0]) : NULL;
+ weechat_argv0 = (argv[0]) ? strdup (argv[0]) : NULL;
weechat_upgrading = 0;
weechat_home = NULL;
weechat_server_cmd_line = 0;