Skip to content

Commit

Permalink
Formatting source and header files according to clang-format defined …
Browse files Browse the repository at this point in the history
…coding style

Enable compiler option '-Wunused-parameter'
  • Loading branch information
AndreaGianarda committed Feb 22, 2023
1 parent 5697a8f commit d8e74aa
Show file tree
Hide file tree
Showing 87 changed files with 7,268 additions and 7,617 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ else()
list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds")
endif()
if(ENABLE_STRICT)
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-Wno-missing-field-initializers" "-fno-strict-aliasing")
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wunused-parameter" "-Wno-missing-field-initializers" "-fno-strict-aliasing")
endif()
endif()
if(STRICT_OPTIONS_CPP)
Expand Down
2 changes: 1 addition & 1 deletion build/android/ortp_AndroidConfig.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2010-2022 Belledonne Communications SARL.
*
* This file is part of oRTP
* This file is part of oRTP
* (see https://gitlab.linphone.org/BC/public/ortp).
*
* This program is free software: you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit d8e74aa

Please sign in to comment.