Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing compiler warnings

  • Loading branch information...
commit ce55d1b4b2fe2894643e44787fdb406d851d4181 1 parent e36728c
Kevin Smith authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/couch_file.erl
View
2  src/couch_file.erl
@@ -243,7 +243,7 @@ open_ns(FilePath, _Options) ->
%% readahead
{ok, Fd} = emmap:open(FilePath, [read, private, nolock]),
%% Hopefully trigger readahead starting from the beginning of the file
- {Time, _} = timer:tc(couch_file, read_all, [Fd]),
+ {_Time, _} = timer:tc(couch_file, read_all, [Fd]),
%%io:format(standard_error, "Database '~s' of size ~w bytes prefetched in ~f seconds~n", [FilePath, Size, Time/1000000]),
{ok, Length} = file:position(Fd, eof),
{ok, #file{fd=Fd, eof=Length, path=FilePath}}.
Please sign in to comment.
Something went wrong with that request. Please try again.