OSSP CVS Repository

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

Check-in Number: 1380
Date: 2001-Nov-20 14:44:01 (local)
2001-Nov-20 13:44:01 (UTC)
User:thl
Branch:
Comment: THLs review
Tickets:
Inspections:
Files:
ossp-pkg/var/var.c      1.32 -> 1.33     6 inserted, 10 deleted

ossp-pkg/var/var.c 1.32 -> 1.33

--- var.c        2001/11/20 13:33:53     1.32
+++ var.c        2001/11/20 13:44:01     1.33
@@ -810,8 +810,7 @@
         } else {
             if (!tokenbuf_append(dst, p, 1))
                 return VAR_ERR_OUT_OF_MEMORY;
-            else
-                ++p;
+            ++p;
         }
     }
     return VAR_OK;
@@ -1431,28 +1430,25 @@
 
         if (*p != '/')
             return VAR_ERR_MALFORMATTED_TRANSPOSE;
-        else
-            ++p;
+        ++p;
 
         rc = substext_or_variable(p, end, config, nameclass, lookup,
                                   lookup_context, force_expand, &search);
         if (rc < 0)
             goto error_return;
-        else
-            p += rc;
+        p += rc;
 
         if (*p != '/') {
             rc = VAR_ERR_MALFORMATTED_TRANSPOSE;
             goto error_return;
-        } else
-            ++p;
+        }
+        ++p;
 
         rc = substext_or_variable(p, end, config, nameclass, lookup,
                                   lookup_context, force_expand, &replace);
         if (rc < 0)
             goto error_return;
-        else
-            p += rc;
+        p += rc;
 
         if (*p != '/') {
             rc = VAR_ERR_MALFORMATTED_TRANSPOSE;

CVSTrac 2.0.1