From: Florian Ragwitz Date: Sun, 12 Oct 2008 14:25:52 +0000 (+0000) Subject: Remove unused vars. X-Git-Tag: 0.005000~71 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-Declare.git;a=commitdiff_plain;h=78678dfd92dd5cf8f08ba2479efcd8e2f673d622 Remove unused vars. --- diff --git a/Declare.xs b/Declare.xs index 41488e5..3ad99ad 100644 --- a/Declare.xs +++ b/Declare.xs @@ -108,7 +108,6 @@ char* dd_get_linestr(pTHX) { void dd_set_linestr(pTHX_ char* new_value) { int new_len = strlen(new_value); - char* old_linestr = SvPVX(PL_linestr); if (SvLEN(PL_linestr) < new_len) { croak("forced to realloc PL_linestr for line %s, bailing out before we crash harder", SvPVX(PL_linestr)); @@ -284,7 +283,6 @@ STATIC OP *(*dd_old_ck_const)(pTHX_ OP*op); STATIC OP *dd_ck_const(pTHX_ OP *o) { int dd_flags; - char* s; char* name; o = dd_old_ck_const(aTHX_ o); /* let the original do its job */