summaryrefslogtreecommitdiff
path: root/ace/Read_Buffer.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-29 03:45:25 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-29 03:45:25 +0000
commitec45c22b822c644b2162234961ad0b09d78ee605 (patch)
treeac297e9dd324be7cfa2ca4af99399e0af9399a23 /ace/Read_Buffer.cpp
parent0cf20e13173950bbafe7be611cb5d4a78e3d849e (diff)
downloadATCD-ec45c22b822c644b2162234961ad0b09d78ee605.tar.gz
(rec_read): initialized local variable c to make sure that it is always defined before use
Diffstat (limited to 'ace/Read_Buffer.cpp')
-rw-r--r--ace/Read_Buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Read_Buffer.cpp b/ace/Read_Buffer.cpp
index 03c8260da24..c21ee748779 100644
--- a/ace/Read_Buffer.cpp
+++ b/ace/Read_Buffer.cpp
@@ -83,7 +83,7 @@ ACE_Read_Buffer::rec_read (int term, int search, int replace)
// This is our temporary workspace.
char buf[BUFSIZ];
- int c;
+ int c = EOF;
size_t index = 0;
int done = 0;