Commit f4063769 authored by John Sullivan's avatar John Sullivan

Turned -Werror back on.

parent 92699dfb
2000-02-08 John Sullivan <sullivan@eazel.com>
* configure.in: turned -Werror back on. It had been turned off a
few days ago, presumably accidentally.
* src/nautilus-index-tabs.c: (draw_one_tab): #if-0'ed this
currently unused function out since -Werror doesn't like unused functions.
2000-02-08 Elliot Lee <sopwith@redhat.com> 2000-02-08 Elliot Lee <sopwith@redhat.com>
* src/ntl-window-msgs.c: Don't segfault if an error occurs while loading the start page. * src/ntl-window-msgs.c: Don't segfault if an error occurs while loading the start page.
......
...@@ -34,7 +34,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then ...@@ -34,7 +34,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wno-sign-compare -Wsign-promo" -Wno-sign-compare -Wsign-promo"
fi fi
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
WERROR="" WERROR="-Werror"
fi fi
AC_SUBST(WERROR) AC_SUBST(WERROR)
......
...@@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs) ...@@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs)
/* draw a single tab at the passed-in position */ /* draw a single tab at the passed-in position */
#if 0 /* temporarily commented out since compiler with -Werror stops on unused functions */
static void static void
draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y) draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y)
{ {
...@@ -184,6 +186,8 @@ draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y) ...@@ -184,6 +186,8 @@ draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y)
/* draw the right bottom line */ /* draw the right bottom line */
} }
#endif
/* draw all of the currently visible tabs */ /* draw all of the currently visible tabs */
static void static void
......
...@@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs) ...@@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs)
/* draw a single tab at the passed-in position */ /* draw a single tab at the passed-in position */
#if 0 /* temporarily commented out since compiler with -Werror stops on unused functions */
static void static void
draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y) draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y)
{ {
...@@ -184,6 +186,8 @@ draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y) ...@@ -184,6 +186,8 @@ draw_one_tab(NautilusIndexTabs *index_tabs, gchar tab_name, gint x, gint y)
/* draw the right bottom line */ /* draw the right bottom line */
} }
#endif
/* draw all of the currently visible tabs */ /* draw all of the currently visible tabs */
static void static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment