From a7c8cb36d1fb972082ef4f0039300d051ade2de9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 22 Jun 2017 13:41:55 +0200 Subject: Silence warnings about unused arguments Signed-off-by: David Oberhollenzer --- tests/jittertest/JitterTest.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/jittertest') diff --git a/tests/jittertest/JitterTest.c b/tests/jittertest/JitterTest.c index 0364a00..4627fb0 100644 --- a/tests/jittertest/JitterTest.c +++ b/tests/jittertest/JitterTest.c @@ -426,6 +426,8 @@ void SignalHandler( char tmpBuf[200]; /* Note sigNum not used. */ + (void)sigNum; + printf("Ctrl+C detected. Worst Jitter time was:%fms.\nJitterTest exiting.\n", (float)LastMaxDiff/1000.0); @@ -458,6 +460,8 @@ static void doGrabKProfile(int jitterusec, char *fileName) int readBytes; char readBuf[4096]; + (void)jitterusec; + if((fdSnapshot = open(fileName, O_WRONLY | O_CREAT, S_IRWXU)) <= 0) { fprintf(stderr, "Could not open file %s.\n", fileName); @@ -553,6 +557,8 @@ void AlarmHandler( if invoked < 1sec apart. */ + (void)sigNum; + if (gettimeofday(&CurrTimeVal, NULL) == (int) 0) { /*---------------------------------------------------------------- -- cgit v1.2.3