Skip to content

Commit

Permalink
Fix warning reported by ros ci: line 316 maybe uninitialized var
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 29, 2024
1 parent ae840eb commit b9c09a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/image/vpCannyEdgeDetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ vpImage<unsigned char>
vpCannyEdgeDetection::detect(const vpImage<unsigned char> &I)
{
#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) // UNIX
rlim_t initialStackSize;
rlim_t initialStackSize = 0;
struct rlimit rl;
int result;
if (m_minStackSize > 0) {
Expand Down

0 comments on commit b9c09a1

Please sign in to comment.