mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 08:33:48 +01:00
Remove useless cast
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
821dc79117
commit
eb5c7079d2
@ -190,8 +190,8 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char* name = NULL;
|
const char* name = NULL;
|
||||||
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
|
while ((name = g_dir_read_name(dir)) != NULL) {
|
||||||
load_plugin(plugin_manager, plugindir, name);
|
load_plugin(plugin_manager, plugindir, name);
|
||||||
}
|
}
|
||||||
g_dir_close(dir);
|
g_dir_close(dir);
|
||||||
|
Loading…
Reference in New Issue
Block a user