XCode warning fixes.
This commit is contained in:
parent
bb7875edd4
commit
c458c13af7
@ -26,8 +26,7 @@
|
|||||||
#include "tabbed_values.hxx"
|
#include "tabbed_values.hxx"
|
||||||
|
|
||||||
|
|
||||||
SGTabbedValues::SGTabbedValues(const char *line) :
|
SGTabbedValues::SGTabbedValues(const char *line)
|
||||||
_line(line)
|
|
||||||
{
|
{
|
||||||
assert(line);
|
assert(line);
|
||||||
_fields.push_back(const_cast<char*>(line));
|
_fields.push_back(const_cast<char*>(line));
|
||||||
|
@ -45,8 +45,6 @@ public:
|
|||||||
long getLongAt(const unsigned int) const;
|
long getLongAt(const unsigned int) const;
|
||||||
private:
|
private:
|
||||||
const char* fieldAt(const unsigned int offset) const;
|
const char* fieldAt(const unsigned int offset) const;
|
||||||
|
|
||||||
const char* _line;
|
|
||||||
|
|
||||||
/** this is first character of each field, if the field is empty
|
/** 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
|
it will be the tab character. It is lazily built as needed, so
|
||||||
|
@ -1292,7 +1292,7 @@ extern int ZEXPORT unzReadCurrentFile (file, buf, len)
|
|||||||
return UNZ_PARAMERROR;
|
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;
|
return UNZ_END_OF_LIST_OF_FILE;
|
||||||
if (len==0)
|
if (len==0)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -91,7 +91,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string _refname; // sample name
|
std::string _refname; // sample name
|
||||||
std::vector<unsigned int> _buffers;
|
std::vector<unsigned int> _buffers;
|
||||||
unsigned int _buffer;
|
|
||||||
|
|
||||||
bool _playing;
|
bool _playing;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user