mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
tests: Fix warnings about unused parameters.
This commit is contained in:
@@ -17,11 +17,15 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../src/compiler.h"
|
||||
|
||||
|
||||
#define MAGIC "@RUN_"
|
||||
#define MAGIC_LENGTH (strlen(MAGIC))
|
||||
@@ -75,7 +79,7 @@ static void dump(char *argv[]) {
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int main(int argc unused, char **argv) {
|
||||
char argv0[strlen(argv[0]) + MAGIC_LENGTH + 3 + 1];
|
||||
|
||||
char *old_ldpreload = getenv("LD_PRELOAD");
|
||||
|
||||
Reference in New Issue
Block a user