Build even without SyncTeX

synctex_editor is used no matter whether we're building WITH_SYNCTEX or
not.  This fixes a build failure when WITH_SYNCTEX isn't defined.

Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
Petr Šabata 2015-12-21 16:57:59 +01:00
parent 6218ee887a
commit b78be80d13

View File

@ -135,10 +135,8 @@ main(int argc, char* argv[])
gchar* plugin_path = NULL;
gchar* loglevel = NULL;
gchar* password = NULL;
#ifdef WITH_SYNCTEX
gchar* synctex_editor = NULL;
gchar* synctex_fwd = NULL;
#endif
gchar* mode = NULL;
bool forkback = false;
bool print_version = false;