XCode warning fixes.

This commit is contained in:
James Turner 2013-06-22 16:15:41 +01:00
parent bb7875edd4
commit c458c13af7
4 changed files with 2 additions and 6 deletions

View File

@ -26,8 +26,7 @@
#include "tabbed_values.hxx"
SGTabbedValues::SGTabbedValues(const char *line) :
_line(line)
SGTabbedValues::SGTabbedValues(const char *line)
{
assert(line);
_fields.push_back(const_cast<char*>(line));

View File

@ -45,8 +45,6 @@ public:
long getLongAt(const unsigned int) const;
private:
const char* fieldAt(const unsigned int offset) const;
const char* _line;
/** this is first character of each field, if the field is empty
it will be the tab character. It is lazily built as needed, so

View File

@ -1292,7 +1292,7 @@ extern int ZEXPORT unzReadCurrentFile (file, buf, len)
return UNZ_PARAMERROR;
if ((pfile_in_zip_read_info->read_buffer == NULL))
if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE;
if (len==0)
return 0;

View File

@ -91,7 +91,6 @@ public:
private:
std::string _refname; // sample name
std::vector<unsigned int> _buffers;
unsigned int _buffer;
bool _playing;