Skip to content

Commit

Permalink
quiet warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Aug 15, 2017
1 parent 9d7c46f commit 5723e03
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions evgMrmApp/src/devSupport/devEvgDbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ common_dset devBoEvgDbusSrcInp = {
(DEVSUPFUN)init_bo_src_inp,
NULL,
(DEVSUPFUN)write_bo_src_inp,
NULL,
};
epicsExportAddress(dset, devBoEvgDbusSrcInp);

Expand Down
3 changes: 3 additions & 0 deletions evgMrmApp/src/devSupport/devEvgTrigEvt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ common_dset devBoEvgTrigEvtMxc = {
(DEVSUPFUN)init_bo_trigSrc,
NULL,
(DEVSUPFUN)write_bo_trigSrc_mxc,
NULL,
};
epicsExportAddress(dset, devBoEvgTrigEvtMxc);

Expand All @@ -128,6 +129,7 @@ common_dset devBoEvgTrigEvtAc = {
(DEVSUPFUN)init_bo_trigSrc,
NULL,
(DEVSUPFUN)write_bo_trigSrc_ac,
NULL,
};
epicsExportAddress(dset, devBoEvgTrigEvtAc);

Expand All @@ -138,6 +140,7 @@ common_dset devBoEvgTrigEvtInp = {
(DEVSUPFUN)init_bo_trigSrc,
NULL,
(DEVSUPFUN)write_bo_trigSrc_inp,
NULL,
};
epicsExportAddress(dset, devBoEvgTrigEvtInp);

Expand Down
3 changes: 2 additions & 1 deletion evrApp/src/devEvrMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ common_dset devLOEVRMap = {
dset_cast(&init_dset<&dxtLOEVRMap>),
(DEVSUPFUN) init_record_empty,
NULL,
(DEVSUPFUN) write_lo
(DEVSUPFUN) write_lo,
NULL
};
epicsExportAddress(dset,devLOEVRMap);

Expand Down
3 changes: 2 additions & 1 deletion evrApp/src/devEvrPulserMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ common_dset devLOEVRPulserMap = {
dset_cast(&init_dset<&dxtLOEVRPulserMap>),
(DEVSUPFUN) &init_record_empty,
NULL,
(DEVSUPFUN) &write_lo
(DEVSUPFUN) &write_lo,
NULL
};
epicsExportAddress(dset,devLOEVRPulserMap);

Expand Down
3 changes: 2 additions & 1 deletion evrApp/src/devEvrStringIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ common_dset devSIEVR = {
dset_cast(&init_dset<&dxtSIEVR>),
(DEVSUPFUN) init_record_empty,
NULL,
(DEVSUPFUN) read_si
(DEVSUPFUN) read_si,
NULL
};
epicsExportAddress(dset,devSIEVR);

Expand Down
3 changes: 2 additions & 1 deletion mrfCommon/src/devlutstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ common_dset devLUTSI = {
0,
(DEVSUPFUN)&init_record_lut,
0,
(DEVSUPFUN)&read_lut
(DEVSUPFUN)&read_lut,
0
};

} // namespace
Expand Down
2 changes: 1 addition & 1 deletion mrfCommon/src/linkoptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ typedef struct linkOptionDef {
#define linkEnum(Struct, Member, Name, Req, Over, Enums) \
{Name, linkOptionEnum, Req, Over, OFFSET(Struct, Member), sizeof( ((Struct*)0)->Member ), Enums}

#define linkOptionEnd {0}
#define linkOptionEnd {0,linkOptionInvalid,0,0,0,0,NULL}

/* Extra output when parsing and converting */
#define LINKOPTIONDEBUG 1
Expand Down
2 changes: 1 addition & 1 deletion mrmShared/src/mrmDataBufTx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ mrmDataBufTx::dataSend(epicsUInt32 len,
// Reading flushes output queue of VME bridge
// Actual sending is so fast that we can use busy wait here
// Measurements showed that we loop up to 17 times
while(!(nat_ioread32(dataCtrl)&DataTxCtrl_done));
while(!(nat_ioread32(dataCtrl)&DataTxCtrl_done)) {};
}

0 comments on commit 5723e03

Please sign in to comment.