Fix some warnings on the unconditionals branch.
This commit is contained in:
@@ -1597,7 +1597,7 @@ start_eating(otmp) /* called as you start to eat */
|
|||||||
{
|
{
|
||||||
const char *old_nomovemsg, *save_nomovemsg;
|
const char *old_nomovemsg, *save_nomovemsg;
|
||||||
|
|
||||||
debugpline("start_eating: %lx (victual = %lx)", otmp, context.victual.piece);
|
debugpline("start_eating: %p (victual = %p)", otmp, context.victual.piece);
|
||||||
debugpline("reqtime = %d", context.victual.reqtime);
|
debugpline("reqtime = %d", context.victual.reqtime);
|
||||||
debugpline("(original reqtime = %d)", objects[otmp->otyp].oc_delay);
|
debugpline("(original reqtime = %d)", objects[otmp->otyp].oc_delay);
|
||||||
debugpline("nmod = %d", context.victual.nmod);
|
debugpline("nmod = %d", context.victual.nmod);
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
|
|
||||||
#define QTEXT_FILE "quest.dat"
|
#define QTEXT_FILE "quest.dat"
|
||||||
|
|
||||||
|
#ifdef TTY_GRAPHICS
|
||||||
|
#include "wintty.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* from sp_lev.c, for deliver_splev_message() */
|
/* from sp_lev.c, for deliver_splev_message() */
|
||||||
extern char *lev_message;
|
extern char *lev_message;
|
||||||
|
|
||||||
@@ -49,7 +53,9 @@ dump_qtlist() /* dump the character msg list to check appearance */
|
|||||||
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
|
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
|
||||||
pline("msgnum %d: delivery %c",
|
pline("msgnum %d: delivery %c",
|
||||||
msg->msgnum, msg->delivery);
|
msg->msgnum, msg->delivery);
|
||||||
|
#ifdef TTY_GRAPHICS
|
||||||
more();
|
more();
|
||||||
|
#endif
|
||||||
(void) dlb_fseek(msg_file, msg->offset, SEEK_SET);
|
(void) dlb_fseek(msg_file, msg->offset, SEEK_SET);
|
||||||
deliver_by_window(msg, NHW_TEXT);
|
deliver_by_window(msg, NHW_TEXT);
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -2256,7 +2256,7 @@ put_qt_hdrs()
|
|||||||
qt_hdr.n_hdr, ofp);
|
qt_hdr.n_hdr, ofp);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
for(i = 0; i < qt_hdr.n_hdr; i++)
|
for(i = 0; i < qt_hdr.n_hdr; i++)
|
||||||
Fprintf(stderr, "%c @ %ld, ", qt_hdr.id[i], qt_hdr.offset[i]);
|
Fprintf(stderr, "%s @ %ld, ", qt_hdr.id[i], qt_hdr.offset[i]);
|
||||||
|
|
||||||
Fprintf(stderr, "\n");
|
Fprintf(stderr, "\n");
|
||||||
#endif
|
#endif
|
||||||
@@ -2267,7 +2267,7 @@ put_qt_hdrs()
|
|||||||
for(i = 0; i < qt_hdr.n_hdr; i++) {
|
for(i = 0; i < qt_hdr.n_hdr; i++) {
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Fprintf(stderr, "%ld: %c header info.\n", ftell(ofp),
|
Fprintf(stderr, "%ld: %s header info.\n", ftell(ofp),
|
||||||
qt_hdr.id[i]);
|
qt_hdr.id[i]);
|
||||||
#endif
|
#endif
|
||||||
(void) fwrite((genericptr_t)&(msg_hdr[i].n_msg), sizeof(int),
|
(void) fwrite((genericptr_t)&(msg_hdr[i].n_msg), sizeof(int),
|
||||||
|
|||||||
Reference in New Issue
Block a user