X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=cgiedit.c;h=b1cfb024d1bdc68f85c7ba14fe1e947eeb5533eb;hb=9b09b278a7ff6910f4334e5399bdb055882274a4;hp=0f041699242ebab2688c31b311aa1ea4ef616b2b;hpb=44e93e6343f9fe1deb9ad4852683fe5ca8e9a01b;p=privoxy.git diff --git a/cgiedit.c b/cgiedit.c index 0f041699..b1cfb024 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.62 2008/08/31 15:59:02 fabiankeil Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.64 2009/03/01 18:43:09 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $ @@ -42,6 +42,12 @@ const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.62 2008/08/31 15:59:02 fabiankeil * * Revisions : * $Log: cgiedit.c,v $ + * Revision 1.64 2009/03/01 18:43:09 fabiankeil + * Fix cparser warnings. + * + * Revision 1.63 2008/12/04 18:15:38 fabiankeil + * Fix some cparser warnings. + * * Revision 1.62 2008/08/31 15:59:02 fabiankeil * There's no reason to let remote toggling support depend * on FEATURE_CGI_EDIT_ACTIONS, so make sure it doesn't. @@ -2637,6 +2643,7 @@ jb_err cgi_edit_actions(struct client_state *csp, struct http_response *rsp, const struct map *parameters) { + (void)parameters; if (0 == (csp->config->feature_flags & RUNTIME_FEATURE_CGI_EDIT_ACTIONS)) { @@ -4575,8 +4582,8 @@ static void javascriptify(char * identifier) static jb_err actions_to_radio(struct map * exports, const struct action_spec *action) { - unsigned mask = action->mask; - unsigned add = action->add; + unsigned long mask; + unsigned long add; int mapped_param; int checked; char current_mode;