Skip to content

Commit 404f9cd

Browse files
committed
SimpleStats: Remove unused method
This fixes a warning from the Intel compiler: src/textord/cjkpitch.cpp(79): warning #177: function "<unnamed>::SimpleStats::maximum" was declared but never referenced Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent a9121d2 commit 404f9cd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/textord/cjkpitch.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Description: Code to determine fixed pitchness and the pitch if fixed,
44
// for CJK text.
55
// Author: takenaka@google.com (Hiroshi Takenaka)
6-
// Created: Mon Jun 27 12:48:35 JST 2011
76
//
87
// Copyright 2011 Google Inc. All Rights Reserved.
98
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -76,12 +75,6 @@ class SimpleStats {
7675
return ile(0.5);
7776
}
7877

79-
float maximum() {
80-
if (!finalized_) Finish();
81-
if (values_.empty()) return 0.0;
82-
return values_.back();
83-
}
84-
8578
float minimum() {
8679
if (!finalized_) Finish();
8780
if (values_.empty()) return 0.0;

0 commit comments

Comments
 (0)