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

@ -191,7 +191,7 @@ void start_application(const char *command, bool no_startup_id) {
if (!no_startup_id)
sn_launcher_context_setup_child_process(context);
execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, (void *)NULL);
execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, NULL);
/* not reached */
}
_exit(0);