output: Add null sentinel automatically to parse_enum() arguments.
[pspp] / src / output / driver.c
index ba2d54f9f5060f055a96be78ba517ef3d7913cb7..6df9057a7da36cd975ec70ea2e970ea3af9b7d24 100644 (file)
@@ -563,7 +563,6 @@ output_driver_create (struct string_map *options)
   if (file_name == NULL)
     file_name = xstrdup (f->default_file_name);
 
-  /* XXX should use parse_enum(). */
   enum settings_output_devices default_type = default_device_type (file_name);
   const char *default_type_string = (default_type == SETTINGS_DEVICE_TERMINAL
                                 ? "terminal" : "listing");