[PATCH 11/30] Fix theoretical usage of NULL pointer dereference

[email protected] <[email protected]>
Newsgroups dev.linux.lists.lvm-devel
Message-ID <87eibe604l.wl%[email protected]>
At Mon, 25 Oct 2010 10:24:18 +0200,
Zdenek Kabelac wrote:
> 
> clang seems to be happier with this check.
> 
> Signed-off-by: Zdenek Kabelac <[email protected]>

Nack, this can't happen.  Or rather if it does something has gone badly wrong.  So if (!*c) { stack; return 0; } would be better.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.