Changeset: 32e0fe5aab0f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=32e0fe5aab0f
Modified Files:
clients/src/mapiclient/mclient.c
Branch: default
Log Message:
Drop redundant code
No need to remove trailing whitespace twice.
diffs (16 lines):
diff -r 62929b9c791b -r 32e0fe5aab0f clients/src/mapiclient/mclient.c
--- a/clients/src/mapiclient/mclient.c Fri Nov 19 14:42:04 2010 +0100
+++ b/clients/src/mapiclient/mclient.c Mon Nov 22 13:46:02 2010 +0100
@@ -1966,12 +1966,6 @@
}
for (line += 2; *line && isascii((int)
*line) && isspace((int) *line); line++)
;
- /* find the end ... */
- for (p = line; *p; p++)
- ;
- /* ... and strip trailing whitespace */
- for (p-- ; p >= line && isascii((int)
*p) && isspace((int) *p); p--)
- *p = '\0';
/* is the object quoted? we only
support fully
* quoted objects, not partial ones */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list