summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Service.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-22 23:41:49 +0100
committerJose <jose@zeroc.com>2013-01-22 23:41:49 +0100
commit19f0c17162b6039ecacbb8b1d53c7eb5992ce153 (patch)
treee4ffb69a99fda90c33f9e2d7437870d73d2a64b0 /cpp/src/Ice/Service.cpp
parentICE-5091 - IceGrid/secure demo needs admin key (diff)
downloadice-19f0c17162b6039ecacbb8b1d53c7eb5992ce153.tar.bz2
ice-19f0c17162b6039ecacbb8b1d53c7eb5992ce153.tar.xz
ice-19f0c17162b6039ecacbb8b1d53c7eb5992ce153.zip
Minor code style fixes
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rw-r--r--cpp/src/Ice/Service.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp
index d5f77ada648..92fb99ca528 100644
--- a/cpp/src/Ice/Service.cpp
+++ b/cpp/src/Ice/Service.cpp
@@ -1706,8 +1706,7 @@ Ice::Service::runDaemon(int argc, char* argv[], const InitializationData& initDa
//
// Associate stdin, stdout and stderr with /dev/null.
//
- int fd;
- fd = open("/dev/null", O_RDWR);
+ int fd = open("/dev/null", O_RDWR);
assert(fd == 0);
if(fd != 0)
{