You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2010/01/17 12:07:56 UTC

svn commit: r900097 - /commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c

Author: mturk
Date: Sun Jan 17 11:07:55 2010
New Revision: 900097

URL: http://svn.apache.org/viewvc?rev=900097&view=rev
Log:
Cleanup unused vars

Modified:
    commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c

Modified: commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c?rev=900097&r1=900096&r2=900097&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/test/testsuite.c Sun Jan 17 11:07:55 2010
@@ -467,7 +467,6 @@
 {
     int i;
     size_t mp = 0;
-    const char *end = NULL;
 
     if (argc < 2) {
 
@@ -476,15 +475,6 @@
     i = ACR_StrMatchA(argv[0], argv[1], &mp, 0);
     printf("smatch returned  %d\n", i);
     printf("smatch ended on '%s'\n", argv[0] + mp);
-#if 0
-    {
-        char buf[1024];
-
-        printf("original string is %s.\n", argv[0]);
-        shquote(argv[0], buf, 1024);
-        printf("quoted   string is %s.\n", buf);
-    }
-#endif
     return 0;
 }
 
@@ -551,7 +541,6 @@
 
 static int test_signal(int argc, const char *const argv[])
 {
-    int failed = 0;
     int ppid;
     if (argc < 1) {
         return ACR_EINVAL;