Corrected test list argument errors
authorjoan <joan@abyz.co.uk>
Tue, 6 Feb 2018 18:35:49 +0000 (18:35 +0000)
committerjoan <joan@abyz.co.uk>
Tue, 6 Feb 2018 18:35:49 +0000 (18:35 +0000)
pigpio.h
x_pigpio.c
x_pigpiod_if.c
x_pigpiod_if2.c

index d1cf3af40f661239d103f0d98b37ea6d6f10fb0d..0fe80f6db959fd0f7445f40be8d6e22c23135536 100644 (file)
--- a/pigpio.h
+++ b/pigpio.h
@@ -31,7 +31,7 @@ For more information, please refer to <http://unlicense.org/>
 #include <stdint.h>
 #include <pthread.h>
 
-#define PIGPIO_VERSION 6509
+#define PIGPIO_VERSION 6511
 
 /*TEXT
 
index f98368732f5b952d80325cb1871765dd36c2a1b2..c252e0e4d0f53a24b057ad6d926ef7cadb0a1b26 100644 (file)
@@ -856,7 +856,7 @@ int main(int argc, char *argv[])
 {
    int i, t, c, status;
 
-   char test[64];
+   char test[64]={0,};
 
    if (argc > 1)
    {
index 94f2045e1ba6e1225d28fbcf19b54ebb23d7577a..ae4d7a54377f92030b000a6a44b58141a993235a 100644 (file)
@@ -825,7 +825,7 @@ int main(int argc, char *argv[])
 {
    int i, t, c, status;
 
-   char test[64];
+   char test[64]={0,};
 
    if (argc > 1)
    {
index b5a6546f7a4fb18df1aaf6414d06c0585f34f6e6..049440146d2358d8299e2eff0305fc597de120b1 100644 (file)
@@ -837,7 +837,7 @@ int main(int argc, char *argv[])
 {
    int i, t, c, pi;
 
-   char test[64];
+   char test[64]={0,};
 
    if (argc > 1)
    {