gcc warning with current cvs
- From: Peter Bloomfield <PeterBloomfield MindSpring com>
- To: Balsa list <balsa-list gnome org>
- Subject: gcc warning with current cvs
- Date: Thu, 6 Sep 2001 08:39:47 -0400
> send.c: In function `libbalsa_message_postpone':
> send.c:1151: warning: `thereturn' might be used uninitialized in
>this function
The code has a tacit assumption that either
LIBBALSA_IS_MAILBOX_LOCAL(draftbox) or
LIBBALSA_IS_MAILBOX_IMAP(draftbox), and `thereturn' would be used
uninitialized if both of these fail. We should probably either assert
that one or the other is true, or add a catch-all `else thereturn =
-1;' -- don't know which is preferred.
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]