aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_local_db.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-02-14 12:14:04 +0100
committerMicael Karlberg <[email protected]>2012-02-14 12:14:04 +0100
commite1904d50ebae01d704f998f7873067e8538e8a35 (patch)
treeadbaa8b47e80713836887f5a3af6e1065bd08dda /lib/snmp/src/agent/snmpa_local_db.erl
parent8929e4d94620c109d31387e6fadfa83b71121a6a (diff)
downloadotp-e1904d50ebae01d704f998f7873067e8538e8a35.tar.gz
otp-e1904d50ebae01d704f998f7873067e8538e8a35.tar.bz2
otp-e1904d50ebae01d704f998f7873067e8538e8a35.zip
[snmp] Removed warnings for unused variables
Diffstat (limited to 'lib/snmp/src/agent/snmpa_local_db.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_local_db.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/agent/snmpa_local_db.erl b/lib/snmp/src/agent/snmpa_local_db.erl
index ab277fc3e9..2c0cad807a 100644
--- a/lib/snmp/src/agent/snmpa_local_db.erl
+++ b/lib/snmp/src/agent/snmpa_local_db.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -515,7 +515,7 @@ handle_call({backup, BackupDir}, From,
{reply, Error, State}
end;
-handle_call({backup, _BackupDir}, From, #state{backup = Backup} = S) ->
+handle_call({backup, _BackupDir}, _From, #state{backup = Backup} = S) ->
?vinfo("backup already in progress: ~p", [Backup]),
{reply, {error, backup_in_progress}, S};