summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-05-19 08:13:30 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-05-19 08:14:52 +0200
commit4b784a631c143ef5aa995030dbcce07c3f5f693e (patch)
tree6c4406daba6ed53d2a48787226e8be500effd67f /src
parent25951cf56db37a653c67d6000d6df5635c784f73 (diff)
downloadweechat-4b784a631c143ef5aa995030dbcce07c3f5f693e.zip
core: remove unneeded test on variable argv
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;