diff options
Diffstat (limited to 'ACE/examples/Misc/test_read_buffer.cpp')
-rw-r--r-- | ACE/examples/Misc/test_read_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/examples/Misc/test_read_buffer.cpp b/ACE/examples/Misc/test_read_buffer.cpp index 1c24aec98b7..5c53b37b637 100644 --- a/ACE/examples/Misc/test_read_buffer.cpp +++ b/ACE/examples/Misc/test_read_buffer.cpp @@ -23,7 +23,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_Read_Buffer rb (handle); - char *buf; + char *buf = 0; while ((buf = rb.read (term, search, replace)) != 0) { |