]> git.lyx.org Git - lyx.git/blobdiff - src/support/Package.cpp
Check return value of regex_match instead of looking at first match
[lyx.git] / src / support / Package.cpp
index 1fd47eca6880cdea39b09b6f7926f3ac88e7c415..bdba77e7ac72780cafd97a6ad3e3b341683b6789 100644 (file)
@@ -651,9 +651,6 @@ get_system_support_dir(FileName const & abs_binary,
                                "to the LyX system directory containing the "
                                "file `chkconfig.ltx'."),
                          from_utf8(searched_dirs_str), from_ascii(LYX_DIR_VER)));
-
-       // Keep the compiler happy.
-       return FileName();
 }