fix: shadowed local variable in macros (-Wshadow)
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 24 Mar 2021 21:03:46 +0000 (17:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 29 Mar 2021 18:02:43 +0000 (14:02 -0400)
commit4041a8a71441f133654c4ca2a187748e08f03b22
tree4900666cd319ec224849e1f34b4f9346a50156d2
parent90417e3efe593df1b5b7547b3ece31ebc0be7f4f
fix: shadowed local variable in macros (-Wshadow)

Add a prefix to the local variable names defined in the PERROR macro to
reduce the risk of shadowing variables with generic names.

Remove the local variable '____ptr_ret' in the shmp_index macro

Change-Id: I5d33e8eb4c760ffb527ac02cf8901105b500b28d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/usterr-signal-safe.h
libringbuffer/shm.h
This page took 0.033433 seconds and 4 git commands to generate.