mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-06 22:31:13 -07:00
Return int after error in read_event to avoid compiler warning
Copied from Perforce Change: 20259 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
8292f7718f
commit
915f8740e2
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $HopeName: MMQA_harness!testlib:testlib.c(trunk.12) $
|
||||
/* $HopeName: MMQA_harness!testlib:testlib.c(trunk.13) $
|
||||
some useful functions for testing the MPS */
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -364,6 +364,8 @@ int read_event(log_event* event) {
|
|||
}
|
||||
error("unknown event");
|
||||
}
|
||||
/* to make compiler happy */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue