Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
ee137028
Commit
ee137028
authored
14 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
WRG: unused variable
parent
555cd6e4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Testing/Utilities/classifyKNN2.cxx
+2
-2
2 additions, 2 deletions
Testing/Utilities/classifyKNN2.cxx
with
2 additions
and
2 deletions
Testing/Utilities/classifyKNN2.cxx
+
2
−
2
View file @
ee137028
...
@@ -101,8 +101,6 @@ int getFloatString(int numFloats, const char *flts, float *tgts)
...
@@ -101,8 +101,6 @@ int getFloatString(int numFloats, const char *flts, float *tgts)
}
}
int
classifyKNN2
(
int
argc
,
char
*
argv
[]
){
int
classifyKNN2
(
int
argc
,
char
*
argv
[]
){
struct
timeval
start
;
struct
timeval
end
;
if
(
argc
!=
6
){
if
(
argc
!=
6
){
std
::
cerr
<<
"Usage: "
<<
std
::
endl
;
std
::
cerr
<<
"Usage: "
<<
std
::
endl
;
std
::
cerr
<<
argv
[
0
]
<<
" Prototypes Ch1ImageFile Ch2ImageFile OutputFile K"
<<
std
::
endl
;
std
::
cerr
<<
argv
[
0
]
<<
" Prototypes Ch1ImageFile Ch2ImageFile OutputFile K"
<<
std
::
endl
;
...
@@ -124,6 +122,8 @@ int classifyKNN2( int argc, char *argv[] ){
...
@@ -124,6 +122,8 @@ int classifyKNN2( int argc, char *argv[] ){
#ifdef WIN32
#ifdef WIN32
double
startWin
=
GetTickCount
()
/
1000.0
f
;
double
startWin
=
GetTickCount
()
/
1000.0
f
;
#else
#else
struct
timeval
start
;
struct
timeval
end
;
gettimeofday
(
&
start
,
NULL
);
gettimeofday
(
&
start
,
NULL
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment