IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28270


Ignore:
Timestamp:
Jun 9, 2010, 11:40:24 AM (16 years ago)
Author:
Paul Price
Message:

Fix error "format not a string literal and no format arguments"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/disttool.c

    r28259 r28270  
    148148    PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false);
    149149
    150     if (use_alternate) { 
     150    if (use_alternate) {
    151151        if (strcmp(stage, "raw")) {
    152152            psError(PXTOOLS_ERR_SYS, true, "alternate inputs only supported for raw stage");
     
    299299      query = pxDataGet("disttool_definebyquery_SSdiff.sql");
    300300      if (!query) {
    301         psError(PXTOOLS_ERR_SYS, false, "failed to retrieve SQL statement");
    302         psFree(where);
    303         return(false);
     301        psError(PXTOOLS_ERR_SYS, false, "failed to retrieve SQL statement");
     302        psFree(where);
     303        return(false);
    304304      }
    305305
    306306      if (label) {
    307         psStringAppend(&query, " AND (diffRun.label = '%s') ", label);
     307        psStringAppend(&query, " AND (diffRun.label = '%s') ", label);
    308308      }
    309309      if (dist_group) {
    310         psStringAppend(&query, " AND (diffRun.dist_group = '%s') ", dist_group);
     310        psStringAppend(&query, " AND (diffRun.dist_group = '%s') ", dist_group);
    311311      }
    312312
    313       no_magic = true;   
     313      no_magic = true;
    314314    } else {
    315315        psError(PS_ERR_UNKNOWN, true, "unknown value for stage: %s", stage);
     
    537537
    538538    if (extraWhere) {
    539         psStringAppend(&query, extraWhere);
     539        psStringAppend(&query, "%s", extraWhere);
    540540    }
    541541    if (clean) {
     
    17031703        return false;
    17041704    }
    1705        
     1705
    17061706
    17071707    PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false);
Note: See TracChangeset for help on using the changeset viewer.