Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
ef15e861
Commit
ef15e861
authored
Sep 15, 2014
by
Tomek Mrugalski
🛰
Browse files
[3591] Unnecessary variable set removed.
parent
8665b912
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/logging.cc
View file @
ef15e861
...
...
@@ -154,9 +154,6 @@ void LogConfigParser::applyConfiguration() {
static
const
std
::
string
SYSLOG
=
"syslog"
;
static
const
std
::
string
SYSLOG_COLON
=
"syslog:"
;
// Set locking directory to /tmp
setenv
(
"B10_LOCKFILE_DIR_FROM_BUILD"
,
"/tmp"
,
1
);
std
::
vector
<
LoggerSpecification
>
specs
;
// Now iterate through all specified loggers
...
...
@@ -171,7 +168,7 @@ void LogConfigParser::applyConfiguration() {
for
(
std
::
vector
<
LoggingDestination
>::
const_iterator
dest
=
it
->
destinations_
.
begin
();
dest
!=
it
->
destinations_
.
end
();
++
dest
)
{
// Set up output option according to destination specification
if
(
dest
->
output_
==
STDOUT
)
{
option
.
destination
=
OutputOption
::
DEST_CONSOLE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment