--- 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;
|