Ticket #12996: 0005-Fix-compiler-Wnonnull-compare-error-message.patch

File 0005-Fix-compiler-Wnonnull-compare-error-message.patch, 603 bytes (added by David Hampton <mythtv@…>, 3 years ago)

Remove comparison that will always fail.

  • mythtv/libs/libmythmetadata/videometadata.cpp

     mythtv/libs/libmythmetadata/videometadata.cpp | 3 ---
     1 file changed, 3 deletions(-)
    
    diff --git a/mythtv/libs/libmythmetadata/videometadata.cpp b/mythtv/libs/libmythmetadata/videometadata.cpp
    index 8f4c2b4..3edb095 100644
    a b VideoMetadata &VideoMetadata::operator=(const VideoMetadata &rhs) 
    12421242
    12431243void VideoMetadata::toMap(InfoMap &metadataMap)
    12441244{
    1245     if (this == NULL)
    1246         return;
    1247 
    12481245    GetImageMap(metadataMap);
    12491246
    12501247    metadataMap["filename"] = GetFilename();