~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

  • Committer: Mark Atwood
  • Date: 2011-06-30 07:03:08 UTC
  • mto: This revision was merged to the branch mainline in revision 2358.
  • Revision ID: me@mark.atwood.name-20110630070308-4380q6dqkkqv92w2
fix cppcheck redundantIfDelete0 warnings.  It is safe to deallocate a NULL pointer

Show diffs side-by-side

added added

removed removed

Lines of Context:
3061
3061
        delete_tree(tree);
3062
3062
        tree= 0;
3063
3063
      }
3064
 
      if (unique_filter)
3065
 
      {
3066
 
        delete unique_filter;
3067
 
        unique_filter= NULL;
3068
 
      }
 
3064
 
 
3065
      delete unique_filter;
 
3066
      unique_filter= NULL;
 
3067
 
3069
3068
      if (warning)
3070
3069
      {
3071
3070
        char warn_buff[DRIZZLE_ERRMSG_SIZE];