|
|
Message-ID: <4EA74444.3010503@hushmail.com>
Date: Wed, 26 Oct 2011 01:20:36 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: clang warning
Clang emits this warning. Is it a false alarm? This code is from 2002.
single.c:330:8: warning: array index of '1' indexes past the end of an
array (that contains 1 elements) [-Warray-bounds]
if (first->data[1]) {
^ ~
In file included from single.c:15:
In file included from ./loader.h:16:
./list.h:19:7: note: array 'data' declared here
char data[1];
^
1 warning generated.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.