Fix compiler warnings and minor issues.

This commit is contained in:
Ralph Lange
2012-04-27 13:25:16 -04:00
committed by Michael Davidsaver
parent 4893d0ef8b
commit c4b54c6d4d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ static void fl_setup(dbChannel *chan, db_field_log *pfl) {
dbChannelFieldSize(chan));
}
static changeValue(db_field_log *pfl2, long val) {
static void changeValue(db_field_log *pfl2, long val) {
pfl2->u.v.field.dbf_long = val;
testDiag("new value: %ld", val);
}
@@ -99,7 +99,7 @@ MAIN(dbndTest)
ELLNODE *node;
chPostEventFunc *cb_out = NULL;
void *arg_out = NULL;
db_field_log *pfl, *pfl2;
db_field_log *pfl2;
db_field_log fl1;
testPlan(61);
+1 -1
View File
@@ -83,7 +83,7 @@ MAIN(tsTest)
testOk(pfl2 == &fl1, "ts filter does not drop or replace field_log");
testOk(fl_equal_ex_ts(&fl1, pfl2), "ts filter does not change field_log data");
testOk(pfl2 = db_create_read_log(pch), "create field log from channel");
testOk(!!(pfl2 = db_create_read_log(pch)), "create field log from channel");
epicsTimeStamp stamp = pfl2->time;
pfl2 = dbChannelRunPreChain(pch, &fl1);
epicsTimeStamp now; epicsTimeGetCurrent(&now);