mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 08:28:33 +01:00
tests: Fix warnings about unused parameters.
This commit is contained in:
@@ -17,15 +17,17 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "../src/compiler.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
(void)argv;
|
||||
|
||||
int main(int argc, char **argv unused) {
|
||||
fprintf(stderr, "write to stderr: %d\n", argc);
|
||||
printf("write to stdout\n");
|
||||
fflush(stdout);
|
||||
|
||||
Reference in New Issue
Block a user