]> granicus.if.org Git - nethack/commit
warning suppression
authorPatR <rankin@nethack.org>
Fri, 20 Nov 2015 02:49:50 +0000 (18:49 -0800)
committerPatR <rankin@nethack.org>
Fri, 20 Nov 2015 02:49:50 +0000 (18:49 -0800)
commita2a567737eb06a70cd4d35d7dde96824d0c643c3
tree469ff3288015593bcab871cf9de0448465601fc2
parent7d23420314a7d45f0662dc7d9d3e4b7688acb004
warning suppression

Fix a couple of the clang static analyzer's warnings.

muse.c has some reformatting.  zap.c wasn't triggering any warning about
possible null pointer, but using MON_AT() to maybe avoid m_at() is not
a useful optimization since m_at() is a macro which starts out by using
MON_AT() itself.
src/muse.c
src/read.c
src/zap.c