axe unexpected ';' after end of block
authorJeff Trawick <trawick@apache.org>
Fri, 6 Aug 2010 17:39:26 +0000 (17:39 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 6 Aug 2010 17:39:26 +0000 (17:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983066 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_cern_meta.c

index e37891a3d9ff39af58150a94da1ab194f884a9b5..c2f226769f15907ae471cc23aa289f774baa132c 100644 (file)
@@ -281,18 +281,18 @@ static int add_cern_meta_data(request_rec *r)
 
     if (!dconf->metafiles) {
         return DECLINED;
-    };
+    }
 
     /* if ./.web/$1.meta exists then output 'asis' */
 
     if (r->finfo.filetype == APR_NOFILE) {
         return DECLINED;
-    };
+    }
 
     /* is this a directory? */
     if (r->finfo.filetype == APR_DIR || r->uri[strlen(r->uri) - 1] == '/') {
         return DECLINED;
-    };
+    }
 
     /* what directory is this file in? */
     scrap_book = apr_pstrdup(r->pool, r->filename);
@@ -311,7 +311,7 @@ static int add_cern_meta_data(request_rec *r)
             "internal error in mod_cern_meta: %s", r->filename);
         /* should really barf, but hey, let's be friends... */
         return DECLINED;
-    };
+    }
 
     metafilename = apr_pstrcat(r->pool, scrap_book, "/",
                dconf->metadir ? dconf->metadir : DEFAULT_METADIR,
@@ -345,7 +345,7 @@ static int add_cern_meta_data(request_rec *r)
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
             "meta file permissions deny server access: %s", metafilename);
         return HTTP_FORBIDDEN;
-    };
+    }
 
     /* read the headers in */
     rv = scan_meta_file(r, f);