Ignore:
Timestamp:
Feb 12, 2011, 4:14:17 PM (13 years ago)
Author:
djay
Message:

Code cleanup to avoid most of the warning messages at compilation time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/zoo_loader.c

    r99 r114  
    4545}
    4646
    47 xmlXPathObjectPtr extractFromDoc(xmlDocPtr,char*);
     47xmlXPathObjectPtr extractFromDoc(xmlDocPtr,const char*);
    4848int runRequest(map*);
    4949
     
    192192        addToMap(tmpMap,"language",tval);
    193193     
    194       char* requests[3];
     194      const char* requests[3];
    195195      requests[0]="GetCapabilities";
    196196      requests[1]="DescribeProcess";
     
    206206#endif
    207207          if(req!=NULL && req->nodeNr==1){
    208             t1->value=requests[j];
     208            t1->value=strdup(requests[j]);
    209209            j=2;
    210210          }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png