Removing last two warnings, when set to pedantic only
authortkummermehr <thorsten.kummermehr@k2l.de>
Thu, 13 Jul 2017 21:09:33 +0000 (23:09 +0200)
committertkummermehr <thorsten.kummermehr@k2l.de>
Thu, 13 Jul 2017 21:09:33 +0000 (23:09 +0200)
ucs2-afb/ucs_apihat.c
ucs2-afb/ucs_binding.c

index 9dfd050..fd5d88f 100644 (file)
@@ -61,7 +61,7 @@ static const struct afb_binding binding_description = {
  int afbBindingV1ServiceInit(struct afb_service service) {
    afbSrv =  service;
    return (0);
-};
+}
 
 /*
  * activation function for registering the binding called by afb-daemon
index c1a0a06..814a874 100644 (file)
@@ -67,7 +67,7 @@ static ucsContextT *ucsContextS;
 PUBLIC void UcsXml_CB_OnError(const char format[], uint16_t vargsCnt, ...) {
     //DEBUG (afbIface, format, args);
     va_list args;
-    va_start (args, format);
+    va_start (args, vargsCnt);
     vfprintf (stderr, format, args);
     va_end(args);
 }