summaryrefslogtreecommitdiffstats
path: root/modules/examples
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-05-22 09:42:18 +0200
committerStefan Fritsch <sf@apache.org>2011-05-22 09:42:18 +0200
commit51226bdccafd9bfe7694b699a92c589be6beeba5 (patch)
tree9aa63c2d664f972b0bd931297478cb0acc43c11b /modules/examples
parentmod_charset_lite: (diff)
downloadapache2-51226bdccafd9bfe7694b699a92c589be6beeba5.tar.xz
apache2-51226bdccafd9bfe7694b699a92c589be6beeba5.zip
Fix various "variable 'x' set but not used" warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1125877 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/mod_example_hooks.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c
index 564fab9dc1..2a685def80 100644
--- a/modules/examples/mod_example_hooks.c
+++ b/modules/examples/mod_example_hooks.c
@@ -1113,11 +1113,8 @@ static int x_quick_handler(request_rec *r, int lookup_uri)
*/
static int x_pre_connection(conn_rec *c, void *csd)
{
- x_cfg *cfg;
char *note;
- cfg = our_cconfig(c);
-
/*
* Log the call and exit.
*/
@@ -1138,9 +1135,6 @@ static int x_pre_connection(conn_rec *c, void *csd)
*/
static int x_process_connection(conn_rec *c)
{
- x_cfg *cfg;
- cfg = our_cconfig(c);
-
trace_connection(c, "x_process_connection()");
return DECLINED;