mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Fixed a LOT of compiler warnings
Added missing DBUG_RETURN statements (in mysqldump.c) Added missing enums Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
This commit is contained in:
@@ -153,7 +153,6 @@ public:
|
||||
ValueType m_type;
|
||||
protected:
|
||||
Reader();
|
||||
virtual ~Reader() {}
|
||||
virtual void reset() = 0;
|
||||
|
||||
virtual bool step(Uint32 len) = 0;
|
||||
@@ -168,7 +167,6 @@ public:
|
||||
class Writer {
|
||||
public:
|
||||
Writer() {}
|
||||
virtual ~Writer() {}
|
||||
|
||||
bool first();
|
||||
bool add(Uint16 key, Uint32 value);
|
||||
@@ -192,7 +190,6 @@ public:
|
||||
SimplePropertiesLinearReader(const Uint32 * src, Uint32 len);
|
||||
virtual ~SimplePropertiesLinearReader() {}
|
||||
|
||||
virtual ~SimplePropertiesLinearReader() {}
|
||||
virtual void reset();
|
||||
virtual bool step(Uint32 len);
|
||||
virtual bool getWord(Uint32 * dst);
|
||||
@@ -230,7 +227,6 @@ public:
|
||||
UtilBufferWriter(class UtilBuffer & buf);
|
||||
virtual ~UtilBufferWriter() {}
|
||||
|
||||
virtual ~UtilBufferWriter() {}
|
||||
virtual bool reset();
|
||||
virtual bool putWord(Uint32 val);
|
||||
virtual bool putWords(const Uint32 * src, Uint32 len);
|
||||
@@ -284,7 +280,6 @@ public:
|
||||
SimplePropertiesSectionWriter(class SectionSegmentPool &);
|
||||
virtual ~SimplePropertiesSectionWriter() {}
|
||||
|
||||
virtual ~SimplePropertiesSectionWriter() {}
|
||||
virtual bool reset();
|
||||
virtual bool putWord(Uint32 val);
|
||||
virtual bool putWords(const Uint32 * src, Uint32 len);
|
||||
|
Reference in New Issue
Block a user