diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-03 05:34:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-03 05:34:25 +0000 |
commit | 1c3cd1b020893108b0b94fc2b0990200240887d8 (patch) | |
tree | 2405ec14bff6a53ae5fb94e88d7405497eab2f3e /gdb/remote-sds.c | |
parent | 321d48c5b8248865d580c9e169ceb776730b7644 (diff) | |
download | gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.zip gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.tar.gz gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.tar.bz2 |
Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r-- | gdb/remote-sds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 312d26a..d3c6b70 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -976,7 +976,7 @@ getmessage (buf, forever) if (c3 == '+') { message_pending = 1; - return; + return 0; /*????*/ } continue; } @@ -1028,6 +1028,7 @@ getmessage (buf, forever) /* We have tried hard enough, and just can't receive the packet. Give up. */ printf_unfiltered ("Ignoring packet error, continuing...\n"); + return 0; } static void |