quiet warnings

This commit is contained in:
Michael Davidsaver
2017-09-06 20:25:10 -05:00
parent 44dd24989c
commit 8575c924fb
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ PDBProvider::PDBProvider(const epics::pvAccess::Configuration::shared_pointer &)
if(!proc.groups.empty()) {
fprintf(stderr, "pdbGroup(s) were defined, but need Base >=3.16.0.2 to function. Ignoring.\n");
}
#endif USE_MULTILOCK
#endif // USE_MULTILOCK
event_context = db_init_events();
if(!event_context)
+3 -1
View File
@@ -150,11 +150,13 @@ int single_put_callback(struct processNotify *notify,notifyPutType type)
{
PDBSinglePut *self = (PDBSinglePut*)notify->usrPvt;
if(notify->status!=notifyOK || type==putDisabledType) return 0;
if(notify->status!=notifyOK) return 0;
// we've previously ensured that wait_changed&DBE_VALUE is true
switch(type) {
case putDisabledType:
return 0;
case putFieldType:
{
DBScanLocker L(notify->chan);