mirror of https://github.com/eclipse/paho.mqtt.c
Fix compile warnings
This commit is contained in:
parent
7941934773
commit
e84b19bab0
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
* Copyright (c) 2009, 2024 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -601,13 +601,10 @@ exit:
|
|||
return failures;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int rc = 0;
|
||||
int (*tests[])() = {NULL, test1, test2};
|
||||
int (*tests[])(struct Options) = {NULL, test1, test2};
|
||||
int i;
|
||||
|
||||
xml = fopen("TEST-MQTT4sync.xml", "w");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2022 IBM Corp., Ian Craggs
|
||||
* Copyright (c) 2009, 2024 IBM Corp., Ian Craggs
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -477,7 +477,7 @@ exit:
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int rc = 0;
|
||||
int (*tests[])() = {NULL, test1, test2};
|
||||
int (*tests[])(struct Options) = {NULL, test1, test2};
|
||||
int i;
|
||||
|
||||
xml = fopen("TEST-MQTT4sync.xml", "w");
|
||||
|
|
|
|||
Loading…
Reference in New Issue