commit 48631c7c9406b1831ef19306852a18b6b5481b41
parent c6b8457680e5cb6bf516fcffdbea29aeca9ac5d2
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 14 Feb 2021 22:52:37 +0100
Remove dead increments for argc and argv.
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/logswan.c b/src/logswan.c
@@ -4,7 +4,7 @@
* https://www.logswan.org
*
* Created: 2015-05-31
- * Last Updated: 2020-08-06
+ * Last Updated: 2021-02-14
*
* Logswan is released under the BSD 2-Clause license.
* See LICENSE file for details.
@@ -135,9 +135,6 @@ main(int argc, char *argv[])
return EXIT_SUCCESS;
}
- argc -= optind;
- argv += optind;
-
/* Starting timer */
clock_gettime(CLOCK_MONOTONIC, &begin);