Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

May 26, 2012, 3:46 PM

Post #1 of 4 (147 views)
Permalink
Ticket #10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang

#10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Type: Patch - Bug Fix
<gary.buhrmaster@…> | Priority: minor
Status: new | Component: MythTV - Video
Milestone: unknown | Library
Version: Master Head | Severity: medium
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Eliminate a pedantic compiler warning from clang in videooutypes.h. Clang
will warn when a switch statement does not explicitly handle all cases.
This patch adds in the missing case statement (with others that simply
break).

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10764>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 2, 2012, 4:28 PM

Post #2 of 4 (126 views)
Permalink
Re: Ticket #10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang [In reply to]

#10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Owner: Gary Buhrmaster
<gary.buhrmaster@…> | <gary.buhrmaster@…>
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Video Library | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

* owner: => Gary Buhrmaster <gary.buhrmaster@…>
* status: new => closed
* resolution: => fixed


Comment:

In [changeset:e2a0efd88ce48698451a36fe9c15b390e7fdd73d/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="e2a0efd88ce48698451a36fe9c15b390e7fdd73d"
Add missing case statement

Also added default. This file needs to have its formatting fixed to match
MythTV standards. The switch statements in particular have wonky
indentations
and break; and such should be on separate lines. A task for later.

Fixes #10764

Signed-off-by: Gavin Hurlbut <ghurlbut [at] mythtv>
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10764#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 2, 2012, 4:28 PM

Post #3 of 4 (127 views)
Permalink
Re: Ticket #10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang [In reply to]

#10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Video Library | Version: Master
Severity: medium | Head
Keywords: | Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by beirdo):

* owner: Gary Buhrmaster <gary.buhrmaster@…> => beirdo


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10764#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 11:58 PM

Post #4 of 4 (121 views)
Permalink
Re: Ticket #10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang [In reply to]

#10764: Correct unhandled enumeration value in videoouttypes.h - detected by clang
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner: beirdo
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - Video Library | Version: Master
Severity: medium | Head
Keywords: | Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by wagnerrp):

* milestone: unknown => 0.26


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10764#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.