From: Nicholas Clark Date: Fri, 10 Feb 2006 22:37:23 +0000 (+0000) Subject: The return value from S_hv_auxinit can be ignored, as it's also stored X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=db93dab821dd5e70ebd9645eaefcd1285e7edb58;p=p5sagit%2Fp5-mst-13.2.git The return value from S_hv_auxinit can be ignored, as it's also stored within the passed in hv parameter. p4raw-id: //depot/perl@27153 --- diff --git a/embed.fnc b/embed.fnc index 90294ba..6eb7867 100644 --- a/embed.fnc +++ b/embed.fnc @@ -1047,7 +1047,7 @@ sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash sR |HEK* |share_hek_flags|NN const char* sv|I32 len|U32 hash|int flags rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg -sRn |struct xpvhv_aux*|hv_auxinit|NN HV *hv +sn |struct xpvhv_aux*|hv_auxinit|NN HV *hv sM |SV* |hv_delete_common|NULLOK HV* tb|NULLOK SV* keysv|NULLOK const char* key \ |STRLEN klen|int k_flags|I32 d_flags|U32 hash sM |HE* |hv_fetch_common|NULLOK HV* tb|NULLOK SV* keysv|NULLOK const char* key \ diff --git a/proto.h b/proto.h index 99b9d01..b2838c2 100644 --- a/proto.h +++ b/proto.h @@ -2887,7 +2887,6 @@ STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const ch __attribute__nonnull__(pTHX_4); STATIC struct xpvhv_aux* S_hv_auxinit(HV *hv) - __attribute__warn_unused_result__ __attribute__nonnull__(1); STATIC SV* S_hv_delete_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);