Skip to content

Commit

Permalink
disable some warning suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
arogge committed Nov 3, 2022
1 parent 2f5823f commit e452c29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions core/src/dird/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ set(DBCHKSRCS dbcheck.cc dbcheck_utils.cc dird_conf.cc dird_globals.cc
ua_acl.cc ua_audit.cc run_conf.cc inc_conf.cc
)

if(compiler_will_warn_of_unused_but_set_variable)
set_source_files_properties(
catreq.cc PROPERTIES COMPILE_FLAGS -Wno-unused-but-set-variable
)
endif()

if(HAVE_WIN32)
list(APPEND DBCHKSRCS ../win32/dird/dbcheckres.rc)
endif()
Expand Down
3 changes: 0 additions & 3 deletions core/src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ endif()

add_library(bareos SHARED ${BAREOS_SRCS} $<TARGET_OBJECTS:version-obj>)

# openssl 3.0
target_compile_options(bareos PUBLIC -Wno-deprecated-declarations)

add_library(version-obj OBJECT version.cc)
target_compile_definitions(
version-obj
Expand Down

0 comments on commit e452c29

Please sign in to comment.