Get rid of some warning messages
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <tickLib.h>
|
||||
#include <wdLib.h>
|
||||
|
||||
@@ -41,22 +41,23 @@
|
||||
* .10 10-20-92 jbk added get_enum funcs, allowed defaults in fields
|
||||
*/
|
||||
|
||||
#include <vxWorks.h>
|
||||
#include <types.h>
|
||||
#include <stdioLib.h>
|
||||
#include <lstLib.h>
|
||||
#include <vxWorks.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "dbDefs.h"
|
||||
#include "epicsPrint.h"
|
||||
#include <alarm.h>
|
||||
#include <dbAccess.h>
|
||||
#include <dbEvent.h>
|
||||
#include <dbFldTypes.h>
|
||||
#include <devSup.h>
|
||||
#include <errMdef.h>
|
||||
#include <recSup.h>
|
||||
#include "alarm.h"
|
||||
#include "dbAccess.h"
|
||||
#include "dbEvent.h"
|
||||
#include "dbFldTypes.h"
|
||||
#include "devSup.h"
|
||||
#include "errMdef.h"
|
||||
#include "recSup.h"
|
||||
#define GEN_SIZE_OFFSET
|
||||
#include <pulseDelayRecord.h>
|
||||
#include "pulseDelayRecord.h"
|
||||
#undef GEN_SIZE_OFFSET
|
||||
|
||||
/* defines used in special routine */
|
||||
|
||||
@@ -1729,7 +1729,7 @@ struct scanRecord *pscan;
|
||||
positioner into p_pp. If recScanDontCheckLimits is set, it will return
|
||||
successful w/o actually checking */
|
||||
|
||||
if(status = checkScanLimits(pscan)) {
|
||||
if((status = checkScanLimits(pscan))) {
|
||||
pscan->exsc = 0; /* limits didn't pass, abort scan */
|
||||
db_post_events(pscan,&pscan->smsg,DBE_VALUE);
|
||||
db_post_events(pscan,&pscan->alrt,DBE_VALUE);
|
||||
|
||||
Reference in New Issue
Block a user