~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/temporal_format_test.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:
47
47
 
48
48
  ~TemporalFormatTest()
49
49
  {
50
 
    if (tf != NULL)
51
 
      delete tf;
52
 
    if (temporal != NULL)
53
 
      delete temporal;
 
50
    delete tf;
 
51
    delete temporal;
54
52
  }
55
53
};
56
54