From: Nicholas Clark Date: Sun, 17 Apr 2011 15:13:55 +0000 (+0100) Subject: check_new() is now never called with NULL st, so simplify it slightly. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=302077b611d1694ac2ba74e6cb40dd0b765e4f5a;p=p5sagit%2FDevel-Size.git check_new() is now never called with NULL st, so simplify it slightly. --- diff --git a/Size.xs b/Size.xs index 6eb2982..65bfd7b 100644 --- a/Size.xs +++ b/Size.xs @@ -83,11 +83,9 @@ check_new(struct state *st, const void *const p) { U8 **leaf_p; U8 *leaf; unsigned int i; - void **tv_p; + void **tv_p = (void **) (st->tracking); - - if (NULL == p || NULL == st) return FALSE; - tv_p = (void **) (st->tracking); + if (NULL == p) return FALSE; TRY_TO_CATCH_SEGV { const char c = *(const char *)p; }