mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Silenced a compiler warning for possibly uninitialized pointer
Some compilers issue a warning when a pointer is initialized in both alternatives of a condition. Force an extra initialization to avoid such warnings.
This commit is contained in:
parent
941ec4762f
commit
4f6fb651c2
@ -1090,6 +1090,7 @@ static const struct BUFFER *findprevious(CONTEXT *ctx, const struct BUFFER *buf)
|
||||
|
||||
error = FALSE;
|
||||
prevblk = buf->num;
|
||||
prevbuf = (struct BUFFER*)NULL;
|
||||
skipped = 0;
|
||||
do {
|
||||
prevmiddle = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user