Parcourir la source

NULL terminate array as test_minmea_check expects

Anthony Brice il y a 9 ans
Parent
commit
137824049b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      tests.c

+ 1 - 0
tests.c

@@ -18,6 +18,7 @@
 
 static const char *valid_sentences_nochecksum[] = {
     "$GPTXT,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
+    NULL,
 };
 
 static const char *valid_sentences_checksum[] = {