IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2012, 12:48:42 PM (14 years ago)
Author:
bills
Message:

fix unused variable error by using it as Gene intended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/dbselect.c

    r34584 r34599  
    6262  for (i = 0; i < Ncols; i++) {
    6363    char *name = fields[i].name ? fields[i].name : fields[i].org_name;
    64     if ((vec[i] = SelectVector (fields[i].name, ANYVECTOR, TRUE)) == NULL) {
    65       gprint (GP_ERR, "trouble creating vector named %s\n", fields[i].name);
     64    if ((vec[i] = SelectVector (name, ANYVECTOR, TRUE)) == NULL) {
     65      gprint (GP_ERR, "trouble creating vector named %s\n", name);
    6666      free (query);
    6767      free (vec);
Note: See TracChangeset for help on using the changeset viewer.