Ticket #205 (closed defect: fixed)
Clean up some warnings
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | misc | Version: | |
| Keywords: | Cc: |
Description
rrd_tool.c(448) : warning : 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir.
rrd_tool.c(759 & 761) : warning : '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead.
rrd_tool.c(519) : warning : 'cwd' : unreferenced local variable
rrd_tool.c(517) : warning : 'st' : unreferenced local variable



The first two are due to windows miss-guidedness at least gcc still seems happy. The second and third are due to windows not compiling all of rrd_tool.c. I moved cwd a bit down in trunk, so the third warning should be gone.