Carlos Rica, Sun, Mar 02, 2008 13:54:10 +0100: > On Sun, Mar 2, 2008 at 10:40 AM, Alex Riesen <raa.lkml@xxxxxxxxx> wrote: > > Carlos Rica, Sat, Mar 01, 2008 17:29:38 +0100: > > > > > @@ -169,40 +173,31 @@ static const char *reset_type_names[] = { "mixed", "soft", "hard", NULL }; > > > > > > int cmd_reset(int argc, const char **argv, const char *prefix) > > > { > > > - int i = 1, reset_type = NONE, update_ref_status = 0, quiet = 0; > > > + int i = 0, reset_type = NONE, update_ref_status = 0, quiet = 0; > > > const char *rev = "HEAD"; > > > unsigned char sha1[20], *orig = NULL, sha1_orig[20], > > > *old_orig = NULL, sha1_old_orig[20]; > > > struct commit *commit; > > > char *reflog_action, msg[1024]; > > > + struct option options[] = { > > > > "static const"? > > > > > > "static const" what? > options? cmd_reset? reset_type_names? "static const struct option options[] = {" the others are already either statics or const properly -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html