Fix redundant casts to the same type

Found using clang-tidy's google-readability-casting.
This commit is contained in:
Orestis Floros
2018-04-27 00:08:58 +03:00
parent aca7790217
commit 0b5a2092a0
3 changed files with 3 additions and 4 deletions

View File

@ -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);