Permalink
Browse files

Change 0 to NULL for pointers per MythTV coding standards

  • Loading branch information...
1 parent 502f0b0 commit a6d45b140ba55f3f9955e3ff7ea7e7169774723c @stuartm stuartm committed May 24, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 mythtv/programs/mythfrontend/videofileassoc.cpp
  2. +2 −2 mythtv/programs/mythfrontend/videolist.cpp
@@ -244,7 +244,7 @@ class FileAssocDialogPrivate
}
}
- return 0;
+ return NULL;
}
void SetSelectionOverride(UIDToFAPair::UID_type new_sel)
@@ -112,15 +112,15 @@ VideoMetadata *TreeNodeData::GetMetadata()
if (m_d)
return m_d->GetMetadata();
- return 0;
+ return NULL;
}
const VideoMetadata *TreeNodeData::GetMetadata() const
{
if (m_d)
return m_d->GetMetadata();
- return 0;
+ return NULL;
}
QString TreeNodeData::GetPath() const

0 comments on commit a6d45b1

Please sign in to comment.