Debugger shows undefined value

1
2
3
4
5
6
7
  unsigned long totSize;
    unsigned int partSize,lastPartSize;
    unsigned short nbRessources;
    const char* folder = "TYPE";

    getSizesRessource(folder, nbRessources, partSize, lastPartSize);
    totSize = (nbRessources*partSize)+lastPartSize;


So this is in my main, I give all parameter except folder in reference to getSizeRessource and this fonction works. When I debug I get "undefined value" for folder and also for totSize, I've tried to set "1" to totSize but same thing...
Why? I'm lost :/
Topic archived. No new replies allowed.