]> granicus.if.org Git - ejabberd/commitdiff
Fix warning of unused variable
authorBadlop <badlop@process-one.net>
Thu, 3 Dec 2009 22:53:39 +0000 (22:53 +0000)
committerBadlop <badlop@process-one.net>
Thu, 3 Dec 2009 22:53:39 +0000 (22:53 +0000)
SVN Revision: 2776

src/web/mod_http_fileserver.erl

index 0b0f62f050560bfa705a80fc331e09ff5dfedc00..0711e951abd320a5fd4b5c3a95726abb19751491 100644 (file)
@@ -319,7 +319,7 @@ serve(LocalPath, DocRoot, DirectoryIndices, CustomHeaders, DefaultContentType, C
 
 %% Troll through the directory indices attempting to find one which
 %% works, if none can be found, return a 404.
-serve_index(_FileName, [], CH, _DefaultContentType, _ContentTypes) ->
+serve_index(_FileName, [], _CH, _DefaultContentType, _ContentTypes) ->
     ?HTTP_ERR_FILE_NOT_FOUND;
 serve_index(FileName, [Index | T], CH, DefaultContentType, ContentTypes) ->
     IndexFileName = filename:join([FileName] ++ [Index]),