File: 10_unused_variables

package info (click to toggle)
libapache-mod-removeip 1.0b-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 124 kB
  • ctags: 19
  • sloc: ansic: 119; sh: 84; makefile: 75
file content (32 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_unused_variables.dpatch by bertagaz <bertagaz@blanc.ptitcanardnoir.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch to remove warnings at compilation time

@DPATCH@

diff -urNad mod_removeip-1.0a/apache1.3/mod_removeip.c mod_removeip-1.0a_tmp/apache1.3/mod_removeip.c
--- mod_removeip-1.0a/apache1.3/mod_removeip.c	2005-04-06 13:52:50.000000000 +0200
+++ mod_removeip-1.0a_tmp/apache1.3/mod_removeip.c	2006-08-10 12:05:00.655401744 +0200
@@ -34,8 +34,6 @@
 
 
 static int change_remote_ip(request_rec *r) {
-    const char *fwdvalue;
-    char *val;
     removeip_server_cfg *cfg = (removeip_server_cfg *)ap_get_module_config(r->server->module_config,
                                                                    &removeip_module);
 
diff -urNad mod_removeip-1.0a/apache2.0/mod_removeip.c mod_removeip-1.0a_tmp/apache2.0/mod_removeip.c
--- mod_removeip-1.0a/apache2.0/mod_removeip.c	2006-02-07 12:52:36.000000000 +0100
+++ mod_removeip-1.0a_tmp/apache2.0/mod_removeip.c	2006-08-10 12:05:13.447457056 +0200
@@ -32,8 +32,6 @@
 }
 
 static int change_remote_ip(request_rec *r) {
-    const char *fwdvalue;
-    char *val;
     removeip_server_cfg *cfg = (removeip_server_cfg *)ap_get_module_config(r->server->module_config,
                                                                    &removeip_module);