globally remove all trailing whitespace from ardour code base.
[ardour.git] / libs / pbd / msvc / getopt_long.c
index 06c459ab84bd9e1754ac82ace428a0e88a962ccc..bf10e5df58612e128c0c37f52a22c0f7c98b9f54 100644 (file)
@@ -152,7 +152,7 @@ gcd(int a, int b)
                b = c;
                c = a % b;
        }
-          
+       
        return b;
 }
 
@@ -251,7 +251,7 @@ start:
                        place = EMSG;
                        if (IN_ORDER) {
                                /*
-                                * GNU extension: 
+                                * GNU extension:
                                 * return non-option as argument to option 1
                                 */
                                optarg = nargv[optind++];
@@ -301,7 +301,7 @@ start:
        }
        if (optchar == 'W' && oli[1] == ';') {          /* -W long-option */
                /* XXX: what if no long options provided (called by getopt)? */
-               if (*place) 
+               if (*place)
                        return -2;
 
                if (++optind >= nargc) {        /* no arg */
@@ -435,7 +435,7 @@ getopt_long(int nargc,
                        has_equal++;
                } else
                        current_argv_len = strlen(current_argv);
-           
+       
                for (i = 0; long_options[i].name; i++) {
                        /* find matching long option */
                        if (strncmp(current_argv, long_options[i].name,
@@ -534,7 +534,7 @@ getopt_long(int nargc,
                if (long_options[match].flag) {
                        *long_options[match].flag = long_options[match].val;
                        retval = 0;
-               } else 
+               } else
                        retval = long_options[match].val;
                if (idx)
                        *idx = match;