OSSP CVS Repository

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

Check-in Number: 1324
Date: 2001-Nov-13 20:32:03 (local)
2001-Nov-13 19:32:03 (UTC)
User:rse
Branch:
Comment: be consistent: every function has at least one 'return'
Tickets:
Inspections:
Files:
ossp-pkg/var/var.c      1.11 -> 1.12     3 inserted, 0 deleted

ossp-pkg/var/var.c 1.11 -> 1.12

--- var.c        2001/11/13 19:28:56     1.11
+++ var.c        2001/11/13 19:32:03     1.12
@@ -59,6 +59,7 @@
 {
     buf->begin = buf->end = NULL;
     buf->buffer_size = 0;
+    return;
 }
 
 static void move_tokenbuf(tokenbuf *src, tokenbuf *dst)
@@ -67,6 +68,7 @@
     dst->end = src->end;
     dst->buffer_size = src->buffer_size;
     init_tokenbuf(src);
+    return;
 }
 
 static int assign_to_tokenbuf(tokenbuf *buf, const char *data, size_t len)
@@ -158,6 +160,7 @@
         free((char *) buf->begin);
     buf->begin = buf->end = NULL;
     buf->buffer_size = 0;
+    return;
 }
 
 static size_t tokenbuf2int(tokenbuf *number)

CVSTrac 2.0.1