OSSP CVS Repository

ossp - Check-in [2982]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2982
Date: 2002-Dec-18 16:51:02 (local)
2002-Dec-18 15:51:02 (UTC)
User:mlelstv
Branch:
Comment: avoid compiler warning

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/sio/sio_bio.c      1.7 -> 1.8     2 inserted, 2 deleted

ossp-pkg/sio/sio_bio.c 1.7 -> 1.8

--- sio_bio.c    2002/11/29 14:26:31     1.7
+++ sio_bio.c    2002/12/18 15:51:02     1.8
@@ -507,7 +507,7 @@
 sio_rc_t siobio_input(sio_t *sio, al_t *al, void *u, sio_rc_t orc)
 {
     private_t *my = (private_t *)u;
-    sio_rc_t rc;
+    sio_rc_t rc = SIO_ERR_INT;
 
     switch (my->state) {
     case INIT:
@@ -537,7 +537,7 @@
 sio_rc_t siobio_output(sio_t *sio, al_t *al, void *u, sio_rc_t orc)
 {
     private_t *my = (private_t *)u;
-    sio_rc_t rc;
+    sio_rc_t rc = SIO_ERR_INT;
 
     switch (my->state) {
     case INIT:

CVSTrac 2.0.1