Skip to content

Commit

Permalink
Change 0 to NULL for pointers per MythTV coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed May 24, 2012
1 parent 502f0b0 commit a6d45b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/videofileassoc.cpp
Expand Up @@ -244,7 +244,7 @@ class FileAssocDialogPrivate
}
}

return 0;
return NULL;
}

void SetSelectionOverride(UIDToFAPair::UID_type new_sel)
Expand Down
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/videolist.cpp
Expand Up @@ -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
Expand Down

0 comments on commit a6d45b1

Please sign in to comment.