Opened 4 years ago

Closed 4 years ago

#12829 closed bug (fixed)

[Patch] mediaplayer/interface/PeakView.h: fix header guard spelling

Reported by: mt Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Applications/MediaPlayer Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

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

Attachments (1)

0019-PeakView.h-fix-header-guard-spelling.patch (737 bytes ) - added by mt 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 4 years ago

patch: 01

comment:2 by Barrett, 4 years ago

Resolution: fixed
Status: newclosed

Applied in hrev50374.

Note: See TracTickets for help on using tickets.