Skip to content

Commit de23508

Browse files
authored
remove extra token at end of #endif (#11)
It involked a warning message when we use CMake environment. ``` ./embeddedRTPS/src/entities/StatelessReader.cpp:73:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 73 | #endif SLR_VERBOSE ```
1 parent d25c4ba commit de23508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entities/StatelessReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool StatelessReader::addNewMatchedWriter(const WriterProxy &newProxy) {
7070
SLR_LOG("Adding WriterProxy");
7171
printGuid(newProxy.remoteWriterGuid);
7272
printf("\n");
73-
#endif SLR_VERBOSE
73+
#endif
7474
return m_proxies.add(newProxy);
7575
}
7676

0 commit comments

Comments
 (0)