Re: PATCH: filters cvs borkage



On 2001.12.23 21:18:37 +0100 Ali Akcaagac wrote:
> hello,
> 
> here is a little patch that you seriously need to get things
> compiled correctly with gcc 3.0.3 dunno if lower versions are
> affected with this too.
> 
> some of these files do a case switch instruction and doesn't
> have a break at the most bottom switch, this causes the compiler
> to spit out an error if compiled with -Werror. since this shouldn't
> happen i made this patch. please hold on there are some more fixes
> needed for current cvs and most recent tools and gnome packages.

2nd part of this patch.

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
--- balsa-cvs/src/filter-edit-callbacks.c	Sun Dec 23 21:11:26 2001
+++ balsa/src/filter-edit-callbacks.c	Sun Dec 23 22:18:05 2001
@@ -297,8 +297,9 @@
         fe_update_label(fe_type_date_label,   &date_label);   break;
     case CONDITION_FLAG:   
         fe_update_label(fe_type_flag_label,   &flags_label);
-   case CONDITION_NONE:
+    case CONDITION_NONE:
         /* to avoid warnings */
+	break;
     }
     condition_has_changed=TRUE;
 }                      /* end fe_negate_condition */
@@ -430,6 +431,7 @@
     case CONDITION_FLAG:
     case CONDITION_NONE:
         /* to avoid warnings */
+	break;
     }
 
     /* Sanity checks OK, retrieve datas from widgets */
@@ -465,6 +467,7 @@
 
     case CONDITION_NONE:
         /* To avoid warnings :) */
+	break;
     }
     return TRUE;
 }                        /* condition_validate*/
@@ -561,6 +564,7 @@
         break;
     case CONDITION_NONE:
         /* To avoid warnings :), we should never get there */
+	break;
     }
     gtk_menu_set_active(GTK_MENU(gtk_option_menu_get_menu(GTK_OPTION_MENU(fe_search_option_menu))),cnd->type-1);
 }            /* end fill_condition_widget */
@@ -615,6 +619,7 @@
         break;
     case 2:  /* Help button */
         /* FIXME */
+	break;
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]