lkml.org 
[lkml]   [2013]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/3] perf: correct a build error
    Date
    builtin-annotate.c: In function 'hists__find_annotations':
    builtin-annotate.c:161:4: error: duplicate case value
    builtin-annotate.c:154:4: error: previously used here

    it happened when no newt installed

    Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
    ---
    tools/perf/util/hist.h | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
    index 3862468..b4436e9 100644
    --- a/tools/perf/util/hist.h
    +++ b/tools/perf/util/hist.h
    @@ -208,8 +208,8 @@ static inline int script_browse(const char *script_opt __maybe_unused)
    return 0;
    }

    -#define K_LEFT -1
    -#define K_RIGHT -2
    +#define K_LEFT -2
    +#define K_RIGHT -3
    #endif

    #ifdef GTK2_SUPPORT
    --
    1.7.2.5


    \
     
     \ /
      Last update: 2013-02-26 06:02    [W:3.084 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site