diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-04 23:47:05 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-04 23:47:05 +0100 |
commit | dcaa1185506986142bccd990a5dca4c6ec1228cf (patch) | |
tree | b2a364a1dbf1d91ad8bad9aeab09e9dc9bb5ab58 /methods/rsh.cc | |
parent | b1803e01ec18a4946523f3c3d0cbff2f0347ff30 (diff) |
fix a bunch of cppcheck "(warning) Member variable '<#>' is not
initialized in the constructor." messages (no functional change)
Diffstat (limited to 'methods/rsh.cc')
-rw-r--r-- | methods/rsh.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/methods/rsh.cc b/methods/rsh.cc index d249ae961..fb3782314 100644 --- a/methods/rsh.cc +++ b/methods/rsh.cc @@ -42,7 +42,9 @@ int RSHMethod::FailFd = -1; // --------------------------------------------------------------------- /* */ RSHConn::RSHConn(URI Srv) : Len(0), WriteFd(-1), ReadFd(-1), - ServerName(Srv), Process(-1) {} + ServerName(Srv), Process(-1) { + Buffer[0] = '\0'; +} /*}}}*/ // RSHConn::RSHConn - Destructor /*{{{*/ // --------------------------------------------------------------------- |