aboutsummaryrefslogtreecommitdiff
path: root/i3-nagbar
diff options
context:
space:
mode:
authorOrestis Floros <orestisf1993@gmail.com>2018-04-27 00:08:58 +0300
committerOrestis Floros <orestisf1993@gmail.com>2018-04-27 00:09:42 +0300
commit0b5a2092a08f7e4463b5d52e11d84750af84e73c (patch)
treee4f5bb8025f1ceab029e52151ee300e8c4e79238 /i3-nagbar
parentaca7790217f6bac58e4588a5b80fcd41de781c8e (diff)
downloadi3-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.c2
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);