Remove unused vars.
Florian Ragwitz [Sun, 12 Oct 2008 14:25:52 +0000 (14:25 +0000)]
Declare.xs

index 41488e5..3ad99ad 100644 (file)
@@ -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 */