Azure IoT common library

Dependents:   STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more

Revision:
7:1af47e3a19b6
Parent:
6:c55b013dfc2a
Child:
18:6d8a413a4d9a
diff -r c55b013dfc2a -r 1af47e3a19b6 string_tokenizer.c
--- a/string_tokenizer.c	Fri Jul 01 10:43:23 2016 -0700
+++ b/string_tokenizer.c	Fri Jul 29 16:01:07 2016 -0700
@@ -104,10 +104,11 @@
         else
         {
             size_t i;
-            size_t j;
             /* Codes_SRS_STRING_04_005: [STRING_TOKENIZER_get_next_token searches the string inside STRING_TOKENIZER_HANDLE for the first character that is NOT contained in the current delimiter] */
             for (i = 0; i < remainingInputStringSize; i++)
             {
+                size_t j;
+
                 bool foundDelimitter = false;
                 for (j = 0; j < delimitterSize; j++)
                 {