Commit 194ea520 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Eliminate '&' which are surplus to requirements

parent 59902e0e
......@@ -145,16 +145,16 @@ main(int argc, char * const *argv)
/* Setup output */
if (LOG.B_opt)
VUT.dispatch_f = &VSL_WriteTransactions;
VUT.dispatch_f = VSL_WriteTransactions;
else
VUT.dispatch_f = &VSL_PrintTransactions;
VUT.dispatch_f = VSL_PrintTransactions;
if (LOG.w_arg) {
openout(LOG.a_opt);
AN(LOG.fo);
VUT.sighup_f = &rotateout;
VUT.sighup_f = rotateout;
} else
LOG.fo = stdout;
VUT.idle_f = &flushout;
VUT.idle_f = flushout;
VUT_Setup();
VUT_Main();
......
......@@ -93,7 +93,7 @@ main(int argc, char *argv[])
for (i = 0; i < SLT__MAX; i++)
ptags[i] = &tags[i];
qsort(&ptags, SLT__MAX, sizeof *ptags, &ptag_cmp);
qsort(ptags, SLT__MAX, sizeof *ptags, ptag_cmp);
for (i = 0; i < SLT__MAX; i++) {
if (ptags[i]->name == NULL || !strcmp(ptags[i]->name, ""))
......
......@@ -150,6 +150,8 @@ vslq_test_rec(const struct vex *vex, const struct VSLC_ptr *rec)
WRONG("Wrong RHS type");
}
break;
default:
break;
}
/* Compare */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment