diff --git a/ChangeLog-20000414 b/ChangeLog-20000414 index 1343c5ecf2a29c8a4625285d97c1fa42d07d0b0e..f5fc52cc924f9db0dfd5ba1f88f65a89b0539eba 100644 --- a/ChangeLog-20000414 +++ b/ChangeLog-20000414 @@ -1,3 +1,10 @@ +2000-02-08 John Sullivan + + * 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 * src/ntl-window-msgs.c: Don't segfault if an error occurs while loading the start page. diff --git a/configure.in b/configure.in index ffe319efb84b0d1ac42a4441f53e7035e314282e..ee5821e41926f2b6050a1cb7afd569d5b07b1f4d 100644 --- a/configure.in +++ b/configure.in @@ -34,7 +34,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wno-sign-compare -Wsign-promo" fi if test "$GCC" = "yes"; then - WERROR="" + WERROR="-Werror" fi AC_SUBST(WERROR) diff --git a/src/nautilus-index-tabs.c b/src/nautilus-index-tabs.c index 19a8f387927a7d6f436a4bbf59b91c301c02844f..a1b8fd42038e95eaad9b5d257ca6f6341ca6d65e 100644 --- a/src/nautilus-index-tabs.c +++ b/src/nautilus-index-tabs.c @@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs) /* draw a single tab at the passed-in position */ +#if 0 /* temporarily commented out since compiler with -Werror stops on unused functions */ + static void 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 */ } +#endif + /* draw all of the currently visible tabs */ static void diff --git a/src/nautilus-sidebar-tabs.c b/src/nautilus-sidebar-tabs.c index 19a8f387927a7d6f436a4bbf59b91c301c02844f..a1b8fd42038e95eaad9b5d257ca6f6341ca6d65e 100644 --- a/src/nautilus-sidebar-tabs.c +++ b/src/nautilus-sidebar-tabs.c @@ -173,6 +173,8 @@ recalculate_size(NautilusIndexTabs *index_tabs) /* draw a single tab at the passed-in position */ +#if 0 /* temporarily commented out since compiler with -Werror stops on unused functions */ + static void 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 */ } +#endif + /* draw all of the currently visible tabs */ static void