diff options
author | Orestis Floros <orestisf1993@gmail.com> | 2018-04-27 00:08:58 +0300 |
---|---|---|
committer | Orestis Floros <orestisf1993@gmail.com> | 2018-04-27 00:09:42 +0300 |
commit | 0b5a2092a08f7e4463b5d52e11d84750af84e73c (patch) | |
tree | e4f5bb8025f1ceab029e52151ee300e8c4e79238 /i3-nagbar | |
parent | aca7790217f6bac58e4588a5b80fcd41de781c8e (diff) | |
download | i3-0b5a2092a08f7e4463b5d52e11d84750af84e73c.tar.gz i3-0b5a2092a08f7e4463b5d52e11d84750af84e73c.zip |
Fix redundant casts to the same type
Found using clang-tidy's google-readability-casting.
Diffstat (limited to 'i3-nagbar')
-rw-r--r-- | i3-nagbar/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index e4628e30..3e5f43e3 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -115,7 +115,7 @@ static void start_application(const char *command) { setsid(); if (fork() == 0) { /* This is the child */ - execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, (void *)NULL); + execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, NULL); /* not reached */ } exit(0); |