summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-07-11 13:37:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-07-11 13:37:24 +0100
commitd7db5317bc4624184fccd816cbacfce3f75cbd27 (patch)
tree80486b8b758b0d6577353ceace50b39df065c277 /src
parent55c2a4677b4b6c172b4331d0c9cc9a12e8e20084 (diff)
downloadlibguestfs-d7db5317bc4624184fccd816cbacfce3f75cbd27.tar.gz
libguestfs-d7db5317bc4624184fccd816cbacfce3f75cbd27.tar.xz
libguestfs-d7db5317bc4624184fccd816cbacfce3f75cbd27.zip
Add comment to the code about InitNone and InitEmpty.
These two constructors are treated as identical, but they should be distinct concepts.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index a2b40b86..b7fe470b 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)