diff --git a/src/dcraw.cc b/src/dcraw.cc
index a4facf6..63d8be4 100644
--- a/src/dcraw.cc
+++ b/src/dcraw.cc
@@ -8253,8 +8253,8 @@ int CLASS main (int argc, const char **argv)
   static int timestamp_only=0, thumbnail_only=0, identify_only=0;
   static int user_qual=-1, user_black=-1, user_sat=-1, user_flip=-1;
   static int use_fuji_rotate=1, write_to_stdout=0, quality, i, c;
-  static char opm, opt, *ofname, *cp, *bpfile=0;
-  static const char *sp, *dark_frame=0, *write_ext;
+  static char opm, opt, *ofname, *sp, *cp, *bpfile=0;
+  static const char *dark_frame=0, *write_ext;
   static struct utimbuf ut;
   static FILE *ofp;
 #ifndef NO_LCMS
