submodule--helper: do not call utf8_fprintf() unnecessarily
[gitweb.git] / builtin / help.c
index 88480131cf9fa85f303ede2662eabe09d848ba4e..e8f79d7af54bce18e8d503dea182146da0fbd456 100644 (file)
@@ -379,17 +379,10 @@ static void get_html_page_path(struct strbuf *page_path, const char *page)
        free(to_free);
 }
 
-/*
- * If open_html is not defined in a platform-specific way (see for
- * example compat/mingw.h), we use the script web--browse to display
- * HTML.
- */
-#ifndef open_html
 static void open_html(const char *path)
 {
        execl_git_cmd("web--browse", "-c", "help.browser", path, (char *)NULL);
 }
-#endif
 
 static void show_html_page(const char *git_cmd)
 {