]> git.sesse.net Git - vlc/blobdiff - src/test/dictionary.c
block_File: test case
[vlc] / src / test / dictionary.c
index 81189943a743f2f69a4b39d07eb1e945af4a30a2..dfa597c5b7de255cfe8d88f6022e06040809bdc1 100644 (file)
@@ -39,12 +39,12 @@ static void test_dictionary_validity (vlc_dictionary_t * p_dict, const char ** o
 
     for( j = 0; keys[j]; j++ )
     {
-        vlc_bool_t found = VLC_FALSE;
+        bool found = false;
         for( i = 0; i < size; i++ )
         {
             if(!strcmp( keys[j], our_keys[i] ))
             {
-                found = VLC_TRUE;
+                found = true;
                 break;
             }
         }
@@ -64,7 +64,7 @@ int main (void)
     };
     const int size = sizeof(our_keys)/sizeof(our_keys[0]);
     char ** keys;
-    int j, i = 0;
+    int i = 0;
 
     vlc_dictionary_t dict;
     vlc_dictionary_init( &dict, 0 );