[haiku-bugs] [Haiku] #12829: [Patch] mediaplayer/interface/PeakView.h: fix header guard spelling

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Jun 2016 13:05:37 -0000

#12829: [Patch] mediaplayer/interface/PeakView.h: fix header guard spelling
--------------------------------------+------------------------------
 Reporter:  mt                        |        Owner:  stippi
     Type:  bug                       |       Status:  new
 Priority:  normal                    |    Milestone:  Unscheduled
Component:  Applications/MediaPlayer  |      Version:  R1/Development
 Keywords:                            |   Blocked By:
 Blocking:                            |  Has a Patch:  0
 Platform:  All                       |
--------------------------------------+------------------------------
 Fix header guard spelling as clang point out.

 {{{
 /home/haiku/haiku/haiku/src/apps/mediaplayer/interface/PeakView.h:30:9:
 warning: 'PEAK_VIEW_H' is used as a header guard here, followed by #define
 of a different macro [-Wheader-guard]
 #ifndef PEAK_VIEW_H
         ^~~~~~~~~~~
 C++ /home/haiku/haiku/haiku/generated-
 clang/objects/haiku/x86_64/release/apps/mediaplayer/SeekSlider.o
 /home/haiku/haiku/haiku/src/apps/mediaplayer/interface/PeakView.h:31:9:
 note: 'PEAL_VIEW_H' is defined here; did you mean 'PEAK_VIEW_H'?
 #define PEAL_VIEW_H
         ^~~~~~~~~~~
         PEAK_VIEW_H
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12829>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: