X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=b7fe470b3e42ef70a1ac36753ae8559280374864;hp=a2b40b86133c7de789903013f38d46be4b4286c8;hb=d7db5317bc4624184fccd816cbacfce3f75cbd27;hpb=55c2a4677b4b6c172b4331d0c9cc9a12e8e20084 diff --git a/src/generator.ml b/src/generator.ml index a2b40b8..b7fe470 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -4643,7 +4643,11 @@ static int %s (void) and generate_one_test_body name i test_name init test = (match init with - | InitNone + | InitNone (* XXX at some point, InitNone and InitEmpty became + * folded together as the same thing. Really we should + * make InitNone do nothing at all, but the tests may + * need to be checked to make sure this is OK. + *) | InitEmpty -> pr " /* InitNone|InitEmpty for %s */\n" test_name; List.iter (generate_test_command_call test_name)