Commit ec615d56 authored by Louisvh's avatar Louisvh

Removed unnecessary ifdef, fixed compiler warning

If WITH_SYNCTEX is not defined, synctex_editor will always be NULL, so
the ifdef is not needed. This gets rid of the "unused variable" warning
when compiling without synctex.
parent 80a0ae9f
......@@ -114,12 +114,10 @@ init_zathura(const char* config_dir, const char* data_dir,
return NULL;
if (synctex_editor != NULL) {
girara_setting_set(zathura->ui.session, "synctex-editor-command",
return zathura;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment