~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/json_server/json/json_internalarray.inl

  • Committer: Mark Atwood
  • Date: 2011-07-03 16:14:16 UTC
  • mfrom: (2353.3.1 drizzle)
  • Revision ID: me@mark.atwood.name-20110703161416-qho1b6h299v1w6i6
mergeĀ lp:~fallenpegasus/drizzle/fix-cppcheck-redundantIfDelete

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
   virtual void releaseArrayPageIndex( Value **indexes, 
94
94
                                       ValueInternalArray::PageIndex indexCount )
95
95
   {
96
 
      if ( indexes )
97
 
         free( indexes );
 
96
      free( indexes );
98
97
   }
99
98
 
100
99
   virtual Value *allocateArrayPage()
104
103
 
105
104
   virtual void releaseArrayPage( Value *value )
106
105
   {
107
 
      if ( value )
108
 
         free( value );
 
106
      free( value );
109
107
   }
110
108
};
111
109
 
157
155
   virtual void releaseArrayPageIndex( Value **indexes, 
158
156
                                       ValueInternalArray::PageIndex indexCount )
159
157
   {
160
 
      if ( indexes )
161
 
         free( indexes );
 
158
      free( indexes );
162
159
   }
163
160
 
164
161
   virtual Value *allocateArrayPage()