Skip to content

Commit dcc8666

Browse files
committed
lstm: Remove unused variable
This fixes a compiler warning: lstm/input.cpp:141:7: warning: unused variable 'width' [-Wunused-variable] Signed-off-by: Stefan Weil <[email protected]>
1 parent ae53ed6 commit dcc8666

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lstm/input.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ void Input::PreparePixInput(const StaticShape& shape, const Pix* pix,
138138
else
139139
normed_pix = pixConvertTo8(var_pix, false);
140140
}
141-
int width = pixGetWidth(normed_pix);
142141
int height = pixGetHeight(normed_pix);
143142
int target_height = shape.height();
144143
if (target_height == 1) target_height = shape.depth();

0 commit comments

Comments
 (0)