@@ -528,7 +528,7 @@ static int apply_stash(int argc, const char **argv, const char *prefix)
528
528
return ret ;
529
529
}
530
530
531
- static int do_drop_stash (const char * prefix , struct stash_info * info , int quiet )
531
+ static int do_drop_stash (struct stash_info * info , int quiet )
532
532
{
533
533
int ret ;
534
534
struct child_process cp_reflog = CHILD_PROCESS_INIT ;
@@ -598,7 +598,7 @@ static int drop_stash(int argc, const char **argv, const char *prefix)
598
598
599
599
assert_stash_ref (& info );
600
600
601
- ret = do_drop_stash (prefix , & info , quiet );
601
+ ret = do_drop_stash (& info , quiet );
602
602
free_stash_info (& info );
603
603
return ret ;
604
604
}
@@ -627,7 +627,7 @@ static int pop_stash(int argc, const char **argv, const char *prefix)
627
627
printf_ln (_ ("The stash entry is kept in case "
628
628
"you need it again." ));
629
629
else
630
- ret = do_drop_stash (prefix , & info , quiet );
630
+ ret = do_drop_stash (& info , quiet );
631
631
632
632
free_stash_info (& info );
633
633
return ret ;
@@ -664,7 +664,7 @@ static int branch_stash(int argc, const char **argv, const char *prefix)
664
664
if (!ret )
665
665
ret = do_apply_stash (prefix , & info , 1 , 0 );
666
666
if (!ret && info .is_stash_ref )
667
- ret = do_drop_stash (prefix , & info , 0 );
667
+ ret = do_drop_stash (& info , 0 );
668
668
669
669
free_stash_info (& info );
670
670
0 commit comments