Skip to content

Commit 7cd5e24

Browse files
committed
fix warning: potential null pointer dereference [-Wnull-dereference]
1 parent eb73cc4 commit 7cd5e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/fs/Environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Environment Environment::loadEnvironment(
155155
point.longitude(),
156156
env_info->proj4().c_str()
157157
);
158-
logging::note("Projection is %s", string(env_info->proj4()).c_str());
158+
logging::note("Projection is %s", env_info->proj4().c_str());
159159
// envInfo should get deleted automatically because it uses unique_ptr
160160
return env_info->load(point);
161161
}

0 commit comments

Comments
 (0)