From 2ff27d5dfb2e823946344b18bd461ce292f3d549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Szczerbi=C5=84ski?= Date: Thu, 5 Dec 2024 14:56:30 +0100 Subject: [PATCH] SNOW-1812871: Setup pipeline with warnings (#777) --- .github/workflows/code-quality.yml | 76 + .gitignore | 1 + CMakeLists.txt | 90 +- ci/build_linux.sh | 1 + ci/scripts/generate_warning_report.py | 152 + ci/scripts/warning_report.sh | 13 + ci/scripts/warnings_baseline.json | 4079 +++++++++++++++++++++++++ cmake/flags.cmake | 41 + cmake/platform.cmake | 28 + scripts/build_libsnowflakeclient.sh | 6 +- tests/CMakeLists.txt | 4 - tests/unit_test_ocsp/CMakeLists.txt | 3 +- tests/unit_test_ocsp/test_ocsp.c | 2 +- 13 files changed, 4412 insertions(+), 84 deletions(-) create mode 100644 .github/workflows/code-quality.yml create mode 100644 ci/scripts/generate_warning_report.py create mode 100755 ci/scripts/warning_report.sh create mode 100644 ci/scripts/warnings_baseline.json create mode 100644 cmake/flags.cmake create mode 100644 cmake/platform.cmake diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml new file mode 100644 index 0000000000..1f6a5d629b --- /dev/null +++ b/.github/workflows/code-quality.yml @@ -0,0 +1,76 @@ +name: Code quality + +on: + push: + branches: + - master + tags: + - v* + pull_request: + branches: + - '**' + +jobs: + check-warnings: + name: Extra-Warnings-Linux + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + build_type: [ 'Release' ] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.13' + architecture: 'x64' + - name: Restore cached deps + id: cache-restore-deps + uses: actions/cache/restore@v4 + with: + path: dep-cache + key: ${{ matrix.build_type }}-${{ github.event.pull_request.base.sha }}-Linux-dep-cache + if: github.event_name == 'pull_request' + - name: Build + shell: bash + env: + USE_EXTRA_WARNINGS: "true" + BUILD_TYPE: ${{ matrix.build_type }} + run: ci/build_linux.sh + - name: Restore cached warnings + id: cache-restore-warnings + uses: actions/cache/restore@v4 + with: + path: warnings.json + key: ${{ github.event.pull_request.base.sha }}-compile-warnings + if: github.event_name == 'pull_request' + - name: Use cached warnings as a baseline + shell: bash + run: cp warnings.json ./ci/scripts/warnings_baseline.json + if: steps.cache-restore-warnings.outputs.cache-hit == true + - name: Warning report + shell: bash + run: ci/scripts/warning_report.sh + - name: Upload build log + uses: actions/upload-artifact@v4 + with: + name: build log + path: build.log + - name: Upload warning report + uses: actions/upload-artifact@v4 + with: + name: report + path: report.md + - name: Upload warnings + uses: actions/upload-artifact@v4 + with: + name: warnings + path: warnings.json + - name: Cache warnings + id: cache-save-warnings + uses: actions/cache/save@v4 + with: + path: warnings.json + key: ${{ github.event.pull_request.base.sha }}-compile-warnings + if: github.ref_name == github.event.repository.default_branch + diff --git a/.gitignore b/.gitignore index 709f8cff53..db7bae3fdb 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ venv/ wss-*-agent.config wss-unified-agent.jar whitesource/ +build.log diff --git a/CMakeLists.txt b/CMakeLists.txt index 56d07e3ff8..75e013d98f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,93 +4,26 @@ # cmake_minimum_required(VERSION 3.17) project(snowflakeclient) - -if (CLIENT_CODE_COVERAGE) # Only when code coverage is enabled - # set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1) - message("Code coverage is enabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage -fprofile-arcs -ftest-coverage -O0") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-arcs -ftest-coverage -O0 -fno-elide-constructors -fno-inline -fno-inline-small-functions -fno-default-inline") -else() - message("Code coverage is disabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) -endif () +include(cmake/platform.cmake) +include(cmake/flags.cmake) # Enabling tests by Ctest. Don't use INCLUDE(Ctest) as # we don't need Dart and other tools. enable_testing() -add_definitions(-DLOG_USE_COLOR) +add_compile_definitions(LOG_USE_COLOR) option(BUILD_TESTS "True if build tests" on) option(MOCK "True if mock should be used" off) set(OPENSSL_VERSION_NUMBER 0x11100000L) + # Developers can uncomment this to enable mock builds on their local VMs #set(MOCK TRUE) # Generates compile_commands.json file for clangd to parse. set(CMAKE_EXPORT_COMPILE_COMMANDS ON) - -if (MOCK) - set(MOCK_OBJECT_WRAPPER_FLAGS -Wl,--wrap=http_perform) - add_definitions(-DMOCK_ENABLED) -else() - set(MOCK_OBJECT_WRAPPER_FLAGS ) -endif () - -if (UNIX AND NOT APPLE) - set(LINUX TRUE) -endif () - -if (LINUX) - set(PLATFORM linux) - message("Platform: Linux") -endif () -if (APPLE) - set(PLATFORM darwin) - message("Platform: Apple OSX") -endif () -if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64") - set(PLATFORM win64) - message("Platform: Windows 64bit") -endif () -if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") - set(PLATFORM win32) - message("Platform: Windows 32bit") - if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") - set (WIN32_DEBUG ON) - message("WIN32_DEBUG: ${WIN32_DEBUG}") - endif () -endif () - set(CMAKE_VERBOSE_MAKEFILE ON) -if (UNIX) - # Linux and OSX - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -std=gnu99 -g -fPIC -Werror -Wno-error=deprecated-declarations -D_LARGEFILE64_SOURCE ${MOCK_OBJECT_WRAPPER_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -std=gnu++17 -fPIC -Werror -Wno-error=deprecated-declarations ${MOCK_OBJECT_WRAPPER_FLAGS}") -else() - # Windows - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /ZH:SHA_256 /guard:cf /Qspectre /sdl") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /ZH:SHA_256 /guard:cf /Qspectre /sdl") - if ($ENV{ARROW_FROM_SOURCE}) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING") - endif () -endif () -if (LINUX) - # Linux. MacOS doesn't require pthread option - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") -endif () - -if (LINUX) - # Profiler for Linux - if (NOT "$ENV{BUILD_WITH_PROFILE_OPTION}" STREQUAL "") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pg") - endif () - - # Code coverage for Linux - if (NOT "$ENV{BUILD_WITH_GCOV_OPTION}" STREQUAL "") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -gp -fprofile-arcs -ftest-coverage") - endif () -endif () +set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(SOURCE_FILES include/snowflake/basic_types.h @@ -340,8 +273,6 @@ if (WIN32) find_library(AWS_C_SDKUTILS_LIB aws-c-sdkutils.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/aws/lib/ REQUIRED NO_DEFAULT_PATH) find_library(AZURE_STORAGE_LITE_LIB azure-storage-lite.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/azure/lib/ REQUIRED NO_DEFAULT_PATH) if ($ENV{ARROW_FROM_SOURCE}) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBOOST_ALL_NO_LIB") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_ALL_NO_LIB") find_library(BOOST_FILESYSTEM_LIB libboost_filesystem.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) find_library(BOOST_REGEX_LIB libboost_regex.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) find_library(BOOST_SYSTEM_LIB libboost_system.lib PATHS deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/boost/lib/ REQUIRED NO_DEFAULT_PATH) @@ -459,9 +390,16 @@ if (MOCK) endif () add_library(snowflakeclient STATIC ${SOURCE_FILES} ${SOURCE_FILES_PUT_GET} ${SOURCE_FILES_CPP_WRAPPER}) +target_compile_features(snowflakeclient PUBLIC cxx_std_17) +target_compile_features(snowflakeclient PUBLIC c_std_99) +if (UNIX) + target_compile_definitions(snowflakeclient PUBLIC _LARGEFILE64_SOURCE) +endif () -set_target_properties(snowflakeclient PROPERTIES LINKER_LANGUAGE CXX) -set_property(TARGET snowflakeclient PROPERTY C_STANDARD 99) +if (LINUX) + target_compile_options(snowflakeclient PUBLIC -pthread) + target_link_options(snowflakeclient PUBLIC -pthread) +endif () #set (CMAKE_CXX_STANDARD 11) if(LINUX) diff --git a/ci/build_linux.sh b/ci/build_linux.sh index d42ec7c84b..368aec7693 100755 --- a/ci/build_linux.sh +++ b/ci/build_linux.sh @@ -44,6 +44,7 @@ docker run \ -e GITHUB_EVENT_NAME \ -e GITHUB_REF \ -e CLIENT_CODE_COVERAGE \ + -e USE_EXTRA_WARNINGS \ -w /mnt/host \ "${BUILD_IMAGE_NAME}" \ "/mnt/host/ci/build/build.sh" diff --git a/ci/scripts/generate_warning_report.py b/ci/scripts/generate_warning_report.py new file mode 100644 index 0000000000..ae597ed68a --- /dev/null +++ b/ci/scripts/generate_warning_report.py @@ -0,0 +1,152 @@ +import re +import enum +from dataclasses import dataclass +from sys import stderr +from typing import Optional, List +import dataclasses +import json +import argparse + +""" +Regexes for matching warnings: +/tmp/libsnowflakeclient/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter] <- message + 223 | size_t in_sizeOfBuffer, <- snippet +""" +message_re = re.compile(r"""(?P[^:]*):(?P\d+):(?:(?P\d+):)?\s+warning:(?P.*)\[(?P.*)\]""") + +class ParserState(enum.Enum): + MESSAGE = "MESSAGE" + SNIPPET = "SNIPPET" + +@dataclass +class CompilerWarning: + file_path: str + line: int + column: Optional[int] + message: str + flag: str + snippet: Optional[str] + source: str + def key(self): + return self.file_path, self.message, self.flag + +@dataclass +class WarningDiff: + new: List[CompilerWarning] + old: List[CompilerWarning] + +""" +Parses warnings from compiler output +""" +def parse_warnings(path: str) -> List[CompilerWarning]: + warnings = [] + state = ParserState.MESSAGE + with open(path, "r") as f: + lines = f.readlines() + for line in lines: + if state == ParserState.MESSAGE: + m_match = message_re.match(line) + if not m_match: + continue + + col = m_match.group("col") + if col: + col = int(col) + + warning = CompilerWarning( + file_path=m_match.group("file_path"), + line=int(m_match.group("line")), + column=col, + message=m_match.group("message"), + flag=m_match.group("flag"), + snippet=None, + source=line + ) + + warnings.append(warning) + state = ParserState.SNIPPET + continue + + if state == ParserState.SNIPPET: + warning.snippet = line + warning.source += line + + state = ParserState.MESSAGE + continue + + result = [] + for w in warnings: + if w not in result: + result.append(w) + return result + +def dump_warnings(warnings: List[CompilerWarning]) -> str: + warnings_as_dict = [dataclasses.asdict(w) for w in warnings] + return json.dumps(warnings_as_dict, indent=2) + +def load_warnings(warnings_json: str) -> List[CompilerWarning]: + warnings_as_dict = json.loads(warnings_json) + return [CompilerWarning(**w) for w in warnings_as_dict] + +def write(path: str, data: str): + with open(path, "w") as f: + f.write(data) + +def read(path: str) -> str: + with open(path, "r") as f: + return f.read() + +def generate_report(path: str, new_warnings: List[CompilerWarning], old_warnings: List[CompilerWarning]): + with open(path, "w") as f: + diff = {} + for nw in new_warnings: + if nw.key() not in diff: + diff[nw.key()] = WarningDiff(new=[], old=[]) + + diff[nw.key()].new.append(nw) + + for ow in old_warnings: + if ow.key() not in diff: + diff[ow.key()] = WarningDiff(new=[], old=[]) + + diff[ow.key()].old.append(ow) + + failed = False + for d in diff.values(): + if len(d.new) > len(d.old): + failed = True + + if failed: + f.write("### Failed\n\n") + else: + f.write("### Succeeded\n\n") + + for d in diff.values(): + balance = len(d.new) - len(d.old) + if balance < 0: + f.write("- Removed {} compiler warnings from {} [{}].\n".format(-balance, d.old[0].file_path, d.old[0].flag)) + + if balance > 0: + f.write("- Added {} compiler warnings to {} [{}]. Please remove following warnings:\n".format(balance, d.new[0].file_path, d.new[0].flag)) + for w in d.new: + f.write("```\n") + f.write(w.source) + f.write("```\n") + +parser = argparse.ArgumentParser( + prog='generate_warning_report', + description='Generate compiler warning report', + epilog='Text at the bottom of help' +) + +parser.add_argument('--build-log', required=True) # option that takes a value +parser.add_argument('--load-warnings', required=True) +parser.add_argument('--dump-warnings', required=True) +parser.add_argument('--report', required=True) +args = parser.parse_args() + +new_warnings = parse_warnings(args.build_log) +old_warnings = load_warnings(read(args.load_warnings)) +generate_report(args.report, new_warnings, old_warnings) +write(args.dump_warnings, dump_warnings(new_warnings)) + diff --git a/ci/scripts/warning_report.sh b/ci/scripts/warning_report.sh new file mode 100755 index 0000000000..97a9584526 --- /dev/null +++ b/ci/scripts/warning_report.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +python3 ci/scripts/generate_warning_report.py --build-log build.log --load-warnings ci/scripts/warnings_baseline.json --dump-warnings warnings.json --report report.md + +if [[ -n "${GITHUB_STEP_SUMMARY}" ]]; +then + cat report.md >> "$GITHUB_STEP_SUMMARY" +fi + +if [[ "$(head -n 1 report.md)" == "### Failed" ]]; +then + exit 1 +fi diff --git a/ci/scripts/warnings_baseline.json b/ci/scripts/warnings_baseline.json new file mode 100644 index 0000000000..36afa5f3ab --- /dev/null +++ b/ci/scripts/warnings_baseline.json @@ -0,0 +1,4079 @@ +[ + { + "file_path": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h", + "line": 95, + "column": 65, + "message": " operand of ?: changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand ", + "flag": "-Wsign-compare", + "snippet": " const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n", + "source": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h:95:65: warning: operand of ?: changes signedness from 'long long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]\n const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;\n" + }, + { + "file_path": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h", + "line": 108, + "column": 37, + "message": " comparison of unsigned expression < 0 is always false ", + "flag": "-Wtype-limits", + "snippet": " src, srclen < 0 ? strlen(src) + 1 : srclen);\n", + "source": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h:108:37: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]\n src, srclen < 0 ? strlen(src) + 1 : srclen);\n" + }, + { + "file_path": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h", + "line": 223, + "column": 16, + "message": " unused parameter 'in_sizeOfBuffer' ", + "flag": "-Wunused-parameter", + "snippet": " size_t in_sizeOfBuffer,\n", + "source": "/mnt/host/include/snowflake/SF_CRTFunctionSafe.h:223:16: warning: unused parameter 'in_sizeOfBuffer' [-Wunused-parameter]\n size_t in_sizeOfBuffer,\n" + }, + { + "file_path": "/mnt/host/lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"wldap32.lib\" )\n", + "source": "/mnt/host/lib/connection.h:28: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/mnt/host/lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"crypt32.lib\" )\n", + "source": "/mnt/host/lib/connection.h:29: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/mnt/host/lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"Ws2_32.lib\")\n", + "source": "/mnt/host/lib/connection.h:30: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.h", + "line": 12, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"wldap32.lib\" )\n", + "source": "/mnt/host/lib/chunk_downloader.h:12: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.h", + "line": 13, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"crypt32.lib\" )\n", + "source": "/mnt/host/lib/chunk_downloader.h:13: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.h", + "line": 14, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"Ws2_32.lib\")\n", + "source": "/mnt/host/lib/chunk_downloader.h:14: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 136, + "column": 33, + "message": " unused parameter 'udata' ", + "flag": "-Wunused-parameter", + "snippet": " static void log_lock_func(void *udata, int lock) {\n", + "source": "/mnt/host/lib/client.c:136:33: warning: unused parameter 'udata' [-Wunused-parameter]\n static void log_lock_func(void *udata, int lock) {\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 307, + "column": 10, + "message": " unused variable 'strerror_buf' ", + "flag": "-Wunused-variable", + "snippet": " char strerror_buf[SF_ERROR_BUFSIZE];\n", + "source": "/mnt/host/lib/client.c:307:10: warning: unused variable 'strerror_buf' [-Wunused-variable]\n char strerror_buf[SF_ERROR_BUFSIZE];\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 1896, + "column": 12, + "message": " unused variable 'raw_row_result' ", + "flag": "-Wunused-variable", + "snippet": " cJSON *raw_row_result;\n", + "source": "/mnt/host/lib/client.c:1896:12: warning: unused variable 'raw_row_result' [-Wunused-variable]\n cJSON *raw_row_result;\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 1895, + "column": 12, + "message": " unused variable 'row' ", + "flag": "-Wunused-variable", + "snippet": " cJSON *row = NULL;\n", + "source": "/mnt/host/lib/client.c:1895:12: warning: unused variable 'row' [-Wunused-variable]\n cJSON *row = NULL;\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 1893, + "column": 12, + "message": " unused variable 'i' ", + "flag": "-Wunused-variable", + "snippet": " size_t i;\n", + "source": "/mnt/host/lib/client.c:1893:12: warning: unused variable 'i' [-Wunused-variable]\n size_t i;\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 3180, + "column": 79, + "message": " unused parameter 'fmt' ", + "flag": "-Wunused-parameter", + "snippet": " SF_STATUS STDCALL snowflake_timestamp_to_string(SF_TIMESTAMP *ts, const char *fmt, char **buffer_ptr,\n", + "source": "/mnt/host/lib/client.c:3180:79: warning: unused parameter 'fmt' [-Wunused-parameter]\n SF_STATUS STDCALL snowflake_timestamp_to_string(SF_TIMESTAMP *ts, const char *fmt, char **buffer_ptr,\n" + }, + { + "file_path": "/mnt/host/lib/client.c", + "line": 40, + "column": 14, + "message": " 'LOG_FP' defined but not used ", + "flag": "-Wunused-variable", + "snippet": " static FILE *LOG_FP = NULL;\n", + "source": "/mnt/host/lib/client.c:40:14: warning: 'LOG_FP' defined but not used [-Wunused-variable]\n static FILE *LOG_FP = NULL;\n" + }, + { + "file_path": "/mnt/host/lib/memory.h", + "line": 28, + "column": 30, + "message": " 'global_hooks' defined but not used ", + "flag": "-Wunused-variable", + "snippet": " static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n", + "source": "/mnt/host/lib/memory.h:28:30: warning: 'global_hooks' defined but not used [-Wunused-variable]\n static SF_INTERNAL_MEM_HOOKS global_hooks = {malloc, free, realloc, calloc};\n" + }, + { + "file_path": "/mnt/host/lib/rbtree.c", + "line": 135, + "column": 19, + "message": " unused variable 'temp_node' ", + "flag": "-Wunused-variable", + "snippet": " RedBlackNode *temp_node = NULL;\n", + "source": "/mnt/host/lib/rbtree.c:135:19: warning: unused variable 'temp_node' [-Wunused-variable]\n RedBlackNode *temp_node = NULL;\n" + }, + { + "file_path": "/mnt/host/lib/rbtree.c", + "line": 134, + "column": 19, + "message": " unused variable 'parent' ", + "flag": "-Wunused-variable", + "snippet": " RedBlackNode *parent = NULL;\n", + "source": "/mnt/host/lib/rbtree.c:134:19: warning: unused variable 'parent' [-Wunused-variable]\n RedBlackNode *parent = NULL;\n" + }, + { + "file_path": "/mnt/host/lib/memory.c", + "line": 152, + "column": 37, + "message": " unused parameter 'file' ", + "flag": "-Wunused-parameter", + "snippet": " void sf_free(void *ptr, const char *file, int line) {\n", + "source": "/mnt/host/lib/memory.c:152:37: warning: unused parameter 'file' [-Wunused-parameter]\n void sf_free(void *ptr, const char *file, int line) {\n" + }, + { + "file_path": "/mnt/host/lib/memory.c", + "line": 152, + "column": 47, + "message": " unused parameter 'line' ", + "flag": "-Wunused-parameter", + "snippet": " void sf_free(void *ptr, const char *file, int line) {\n", + "source": "/mnt/host/lib/memory.c:152:47: warning: unused parameter 'line' [-Wunused-parameter]\n void sf_free(void *ptr, const char *file, int line) {\n" + }, + { + "file_path": "/mnt/host/lib/connection.c", + "line": 124, + "column": 15, + "message": " 'uimax' defined but not used ", + "flag": "-Wunused-function", + "snippet": " static uint32 uimax(uint32 a, uint32 b) {\n", + "source": "/mnt/host/lib/connection.c:124:15: warning: 'uimax' defined but not used [-Wunused-function]\n static uint32 uimax(uint32 a, uint32 b) {\n" + }, + { + "file_path": "/mnt/host/lib/connection.c", + "line": 82, + "column": 5, + "message": " 'my_trace' defined but not used ", + "flag": "-Wunused-function", + "snippet": " int my_trace(CURL *handle, curl_infotype type,\n", + "source": "/mnt/host/lib/connection.c:82:5: warning: 'my_trace' defined but not used [-Wunused-function]\n int my_trace(CURL *handle, curl_infotype type,\n" + }, + { + "file_path": "/mnt/host/lib/results.c", + "line": 133, + "column": 54, + "message": " unused parameter 'precision' ", + "flag": "-Wunused-parameter", + "snippet": " SF_C_TYPE snowflake_to_c_type(SF_DB_TYPE type, int64 precision, int64 scale) {\n", + "source": "/mnt/host/lib/results.c:133:54: warning: unused parameter 'precision' [-Wunused-parameter]\n SF_C_TYPE snowflake_to_c_type(SF_DB_TYPE type, int64 precision, int64 scale) {\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.c", + "line": 161, + "column": 19, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (i = 0; i < chunk_downloader->queue_size; i++) {\n", + "source": "/mnt/host/lib/chunk_downloader.c:161:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n for (i = 0; i < chunk_downloader->queue_size; i++) {\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.c", + "line": 334, + "column": 19, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (i = 0; i < thread_count; i++) {\n", + "source": "/mnt/host/lib/chunk_downloader.c:334:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n for (i = 0; i < thread_count; i++) {\n" + }, + { + "file_path": "/mnt/host/lib/chunk_downloader.c", + "line": 77, + "column": 21, + "message": " 'set_error' defined but not used ", + "flag": "-Wunused-function", + "snippet": " static void STDCALL set_error(struct SF_CHUNK_DOWNLOADER *chunk_downloader, sf_bool value) {\n", + "source": "/mnt/host/lib/chunk_downloader.c:77:21: warning: 'set_error' defined but not used [-Wunused-function]\n static void STDCALL set_error(struct SF_CHUNK_DOWNLOADER *chunk_downloader, sf_bool value) {\n" + }, + { + "file_path": "/mnt/host/lib/http_perform.c", + "line": 380, + "column": 74, + "message": " comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int8' {aka 'char'} ", + "flag": "-Wsign-compare", + "snippet": " if (res == CURLE_COULDNT_CONNECT && curl_retry_ctx.retry_count <\n", + "source": "/mnt/host/lib/http_perform.c:380:74: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int8' {aka 'char'} [-Wsign-compare]\n if (res == CURLE_COULDNT_CONNECT && curl_retry_ctx.retry_count <\n" + }, + { + "file_path": "/mnt/host/lib/http_perform.c", + "line": 430, + "column": 52, + "message": " comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint64' {aka 'long long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " ((time(NULL) - elapsedRetryTime) < curl_retry_ctx.retry_timeout) &&\n", + "source": "/mnt/host/lib/http_perform.c:430:52: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint64' {aka 'long long unsigned int'} [-Wsign-compare]\n ((time(NULL) - elapsedRetryTime) < curl_retry_ctx.retry_timeout) &&\n" + }, + { + "file_path": "/mnt/host/lib/http_perform.c", + "line": 431, + "column": 74, + "message": " comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int8' {aka 'char'} ", + "flag": "-Wsign-compare", + "snippet": " ((retry_max_count <= 0) || (curl_retry_ctx.retry_count < retry_max_count)))\n", + "source": "/mnt/host/lib/http_perform.c:431:74: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int8' {aka 'char'} [-Wsign-compare]\n ((retry_max_count <= 0) || (curl_retry_ctx.retry_count < retry_max_count)))\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 46, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_put(std::string const& url,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:46:44: warning: unused parameter 'url' [-Wunused-parameter]\n virtual bool http_put(std::string const& url,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 47, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:47:57: warning: unused parameter 'headers' [-Wunused-parameter]\n std::vector const& headers,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 48, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:48:52: warning: unused parameter 'payload' [-Wunused-parameter]\n std::basic_iostream& payload,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 49, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:49:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n size_t payloadLen,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 50, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders)\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:50:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n std::string& responseHeaders)\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 66, + "column": 44, + "message": " unused parameter 'url' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool http_get(std::string const& url,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:66:44: warning: unused parameter 'url' [-Wunused-parameter]\n virtual bool http_get(std::string const& url,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 67, + "column": 57, + "message": " unused parameter 'headers' ", + "flag": "-Wunused-parameter", + "snippet": " std::vector const& headers,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:67:57: warning: unused parameter 'headers' [-Wunused-parameter]\n std::vector const& headers,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 68, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:68:52: warning: unused parameter 'payload' [-Wunused-parameter]\n std::basic_iostream* payload,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 69, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders,\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:69:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n std::string& responseHeaders,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IStatementPutGet.hpp", + "line": 70, + "column": 30, + "message": " unused parameter 'headerOnly' ", + "flag": "-Wunused-parameter", + "snippet": " bool headerOnly)\n", + "source": "/mnt/host/include/snowflake/IStatementPutGet.hpp:70:30: warning: unused parameter 'headerOnly' [-Wunused-parameter]\n bool headerOnly)\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IFileTransferAgent.hpp", + "line": 76, + "column": 44, + "message": " unused parameter 'useUrand' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setRandomDeviceAsUrand(bool useUrand){};\n", + "source": "/mnt/host/include/snowflake/IFileTransferAgent.hpp:76:44: warning: unused parameter 'useUrand' [-Wunused-parameter]\n virtual void setRandomDeviceAsUrand(bool useUrand){};\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IFileTransferAgent.hpp", + "line": 86, + "column": 36, + "message": " unused parameter 'putFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutFastFail(bool putFastFail){};\n", + "source": "/mnt/host/include/snowflake/IFileTransferAgent.hpp:86:36: warning: unused parameter 'putFastFail' [-Wunused-parameter]\n virtual void setPutFastFail(bool putFastFail){};\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IFileTransferAgent.hpp", + "line": 92, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setPutMaxRetries(int maxRetries){};\n", + "source": "/mnt/host/include/snowflake/IFileTransferAgent.hpp:92:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n virtual void setPutMaxRetries(int maxRetries){};\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IFileTransferAgent.hpp", + "line": 98, + "column": 36, + "message": " unused parameter 'getFastFail' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetFastFail(bool getFastFail) {};\n", + "source": "/mnt/host/include/snowflake/IFileTransferAgent.hpp:98:36: warning: unused parameter 'getFastFail' [-Wunused-parameter]\n virtual void setGetFastFail(bool getFastFail) {};\n" + }, + { + "file_path": "/mnt/host/include/snowflake/IFileTransferAgent.hpp", + "line": 104, + "column": 37, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setGetMaxRetries(int maxRetries) {};\n", + "source": "/mnt/host/include/snowflake/IFileTransferAgent.hpp:104:37: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n virtual void setGetMaxRetries(int maxRetries) {};\n" + }, + { + "file_path": "/mnt/host/cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};\n", + "source": "/mnt/host/cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n std::string m_putFileName;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/mnt/host/cpp/FileCompressionType.cpp", + "line": 148, + "column": 26, + "message": " comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const short int' ", + "flag": "-Wsign-compare", + "snippet": " if (strlen(header) >= m_magicBytes &&\n", + "source": "/mnt/host/cpp/FileCompressionType.cpp:148:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const short int' [-Wsign-compare]\n if (strlen(header) >= m_magicBytes &&\n" + }, + { + "file_path": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()\n", + "source": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/mnt/host/cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;\n", + "source": "/mnt/host/cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n bool finished;\n" + }, + { + "file_path": "/mnt/host/cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;\n", + "source": "/mnt/host/cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n const unsigned int threadCount;\n" + }, + { + "file_path": "/mnt/host/cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)\n", + "source": "/mnt/host/cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 302, + "column": 27, + "message": " 'Snowflake::Client::FileTransferAgent::m_FileMetadataInitializer' will be initialized after ", + "flag": "-Wreorder", + "snippet": " FileMetadataInitializer m_FileMetadataInitializer;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:302:27: warning: 'Snowflake::Client::FileTransferAgent::m_FileMetadataInitializer' will be initialized after [-Wreorder]\n FileMetadataInitializer m_FileMetadataInitializer;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 296, + "column": 32, + "message": " 'Snowflake::Client::FileTransferExecutionResult* Snowflake::Client::FileTransferAgent::m_executionResults' ", + "flag": "-Wreorder", + "snippet": " FileTransferExecutionResult *m_executionResults;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:296:32: warning: 'Snowflake::Client::FileTransferExecutionResult* Snowflake::Client::FileTransferAgent::m_executionResults' [-Wreorder]\n FileTransferExecutionResult *m_executionResults;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.cpp", + "line": 63, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " Snowflake::Client::FileTransferAgent::FileTransferAgent(\n", + "source": "/mnt/host/cpp/FileTransferAgent.cpp:63:1: warning: when initialized here [-Wreorder]\n Snowflake::Client::FileTransferAgent::FileTransferAgent(\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 296, + "column": 32, + "message": " 'Snowflake::Client::FileTransferAgent::m_executionResults' will be initialized after ", + "flag": "-Wreorder", + "snippet": " FileTransferExecutionResult *m_executionResults;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:296:32: warning: 'Snowflake::Client::FileTransferAgent::m_executionResults' will be initialized after [-Wreorder]\n FileTransferExecutionResult *m_executionResults;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 287, + "column": 20, + "message": " 'Snowflake::Client::IStorageClient* Snowflake::Client::FileTransferAgent::m_storageClient' ", + "flag": "-Wreorder", + "snippet": " IStorageClient * m_storageClient;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:287:20: warning: 'Snowflake::Client::IStorageClient* Snowflake::Client::FileTransferAgent::m_storageClient' [-Wreorder]\n IStorageClient * m_storageClient;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 328, + "column": 7, + "message": " 'Snowflake::Client::FileTransferAgent::m_maxPutRetries' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_maxPutRetries;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:328:7: warning: 'Snowflake::Client::FileTransferAgent::m_maxPutRetries' will be initialized after [-Wreorder]\n int m_maxPutRetries;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 326, + "column": 8, + "message": " 'bool Snowflake::Client::FileTransferAgent::m_putFastFail' ", + "flag": "-Wreorder", + "snippet": " bool m_putFastFail;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:326:8: warning: 'bool Snowflake::Client::FileTransferAgent::m_putFastFail' [-Wreorder]\n bool m_putFastFail;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 333, + "column": 7, + "message": " 'Snowflake::Client::FileTransferAgent::m_maxGetRetries' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_maxGetRetries;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:333:7: warning: 'Snowflake::Client::FileTransferAgent::m_maxGetRetries' will be initialized after [-Wreorder]\n int m_maxGetRetries;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.hpp", + "line": 331, + "column": 8, + "message": " 'bool Snowflake::Client::FileTransferAgent::m_getFastFail' ", + "flag": "-Wreorder", + "snippet": " bool m_getFastFail;\n", + "source": "/mnt/host/cpp/FileTransferAgent.hpp:331:8: warning: 'bool Snowflake::Client::FileTransferAgent::m_getFastFail' [-Wreorder]\n bool m_getFastFail;\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.cpp", + "line": 924, + "column": 28, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " (localFilePathBeginIdx > FILE_PROTOCOL.length()) &&\n", + "source": "/mnt/host/cpp/FileTransferAgent.cpp:924:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n (localFilePathBeginIdx > FILE_PROTOCOL.length()) &&\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferAgent.cpp", + "line": 956, + "column": 32, + "message": " comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' ", + "flag": "-Wsign-compare", + "snippet": " else if (std::string::npos == localFilePathEndIdx)\n", + "source": "/mnt/host/cpp/FileTransferAgent.cpp:956:32: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]\n else if (std::string::npos == localFilePathEndIdx)\n" + }, + { + "file_path": "/mnt/host/cpp/FileTransferExecutionResult.cpp", + "line": 223, + "column": 18, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i=0; isize(); i++)\n", + "source": "/mnt/host/cpp/FileTransferExecutionResult.cpp:223:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i=0; isize(); i++)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeS3Client.cpp", + "line": 547, + "column": 21, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < downloadParts.size(); i++)\n", + "source": "/mnt/host/cpp/SnowflakeS3Client.cpp:547:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < downloadParts.size(); i++)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.hpp", + "line": 38, + "column": 33, + "message": " unused parameter 'uploadId' ", + "flag": "-Wunused-parameter", + "snippet": " MultiUploadCtx_a(std::string &uploadId,\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.hpp:38:33: warning: unused parameter 'uploadId' [-Wunused-parameter]\n MultiUploadCtx_a(std::string &uploadId,\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.hpp", + "line": 39, + "column": 18, + "message": " unused parameter 'partNumber' ", + "flag": "-Wunused-parameter", + "snippet": " unsigned int partNumber,\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.hpp:39:18: warning: unused parameter 'partNumber' [-Wunused-parameter]\n unsigned int partNumber,\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.hpp", + "line": 40, + "column": 18, + "message": " unused parameter 'key' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &key,\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.hpp:40:18: warning: unused parameter 'key' [-Wunused-parameter]\n std::string &key,\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.hpp", + "line": 41, + "column": 18, + "message": " unused parameter 'bucket' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &bucket)\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.hpp:41:18: warning: unused parameter 'bucket' [-Wunused-parameter]\n std::string &bucket)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.cpp", + "line": 132, + "column": 58, + "message": " comparison of integer expressions of different signedness: 'long long int' and 'const size_t' {aka 'const long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " if(fileMetadata->encryptionMetadata.cipherStreamSize <= m_uploadThreshold)\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.cpp:132:58: warning: comparison of integer expressions of different signedness: 'long long int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]\n if(fileMetadata->encryptionMetadata.cipherStreamSize <= m_uploadThreshold)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.cpp", + "line": 181, + "column": 78, + "message": " unused parameter 'uploadCtx' ", + "flag": "-Wunused-parameter", + "snippet": " void Snowflake::Client::SnowflakeAzureClient::uploadParts(MultiUploadCtx_a * uploadCtx)\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.cpp:181:78: warning: unused parameter 'uploadCtx' [-Wunused-parameter]\n void Snowflake::Client::SnowflakeAzureClient::uploadParts(MultiUploadCtx_a * uploadCtx)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.cpp", + "line": 242, + "column": 10, + "message": " unused variable 'ivEncodeSize' ", + "flag": "-Wunused-variable", + "snippet": " size_t ivEncodeSize = Snowflake::Client::Util::Base64::encodedLength(\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.cpp:242:10: warning: unused variable 'ivEncodeSize' [-Wunused-variable]\n size_t ivEncodeSize = Snowflake::Client::Util::Base64::encodedLength(\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeAzureClient.cpp", + "line": 289, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < downloadParts.size(); i++)\n", + "source": "/mnt/host/cpp/SnowflakeAzureClient.cpp:289:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < downloadParts.size(); i++)\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeGCSClient.cpp", + "line": 33, + "column": 75, + "message": " unused parameter 'parallel' ", + "flag": "-Wunused-parameter", + "snippet": " SnowflakeGCSClient::SnowflakeGCSClient(StageInfo *stageInfo, unsigned int parallel,\n", + "source": "/mnt/host/cpp/SnowflakeGCSClient.cpp:33:75: warning: unused parameter 'parallel' [-Wunused-parameter]\n SnowflakeGCSClient::SnowflakeGCSClient(StageInfo *stageInfo, unsigned int parallel,\n" + }, + { + "file_path": "/mnt/host/cpp/SnowflakeGCSClient.cpp", + "line": 34, + "column": 20, + "message": " unused parameter 'transferConfig' ", + "flag": "-Wunused-parameter", + "snippet": " TransferConfig * transferConfig, IStatementPutGet* statement) :\n", + "source": "/mnt/host/cpp/SnowflakeGCSClient.cpp:34:20: warning: unused parameter 'transferConfig' [-Wunused-parameter]\n TransferConfig * transferConfig, IStatementPutGet* statement) :\n" + }, + { + "file_path": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp", + "line": 134, + "column": 7, + "message": " 'Snowflake::Client::Util::StreamAppender::m_totalPartNum' will be initialized after ", + "flag": "-Wreorder", + "snippet": " int m_totalPartNum;\n", + "source": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp:134:7: warning: 'Snowflake::Client::Util::StreamAppender::m_totalPartNum' will be initialized after [-Wreorder]\n int m_totalPartNum;\n" + }, + { + "file_path": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp", + "line": 131, + "column": 7, + "message": " 'int Snowflake::Client::Util::StreamAppender::m_parallel' ", + "flag": "-Wreorder", + "snippet": " int m_parallel;\n", + "source": "/mnt/host/cpp/util/ByteArrayStreamBuf.hpp:131:7: warning: 'int Snowflake::Client::Util::StreamAppender::m_parallel' [-Wreorder]\n int m_parallel;\n" + }, + { + "file_path": "/mnt/host/cpp/util/ByteArrayStreamBuf.cpp", + "line": 85, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " Snowflake::Client::Util::StreamAppender::StreamAppender(\n", + "source": "/mnt/host/cpp/util/ByteArrayStreamBuf.cpp:85:1: warning: when initialized here [-Wreorder]\n Snowflake::Client::Util::StreamAppender::StreamAppender(\n" + }, + { + "file_path": "/mnt/host/cpp/crypto/CipherStreamBuf.hpp", + "line": 45, + "column": 10, + "message": " 'Snowflake::Client::Crypto::CipherStreamBuf::m_blockSize' will be initialized after ", + "flag": "-Wreorder", + "snippet": " size_t m_blockSize;\n", + "source": "/mnt/host/cpp/crypto/CipherStreamBuf.hpp:45:10: warning: 'Snowflake::Client::Crypto::CipherStreamBuf::m_blockSize' will be initialized after [-Wreorder]\n size_t m_blockSize;\n" + }, + { + "file_path": "/mnt/host/cpp/crypto/CipherStreamBuf.hpp", + "line": 38, + "column": 9, + "message": " 'char* Snowflake::Client::Crypto::CipherStreamBuf::m_srcBuffer' ", + "flag": "-Wreorder", + "snippet": " char *m_srcBuffer;\n", + "source": "/mnt/host/cpp/crypto/CipherStreamBuf.hpp:38:9: warning: 'char* Snowflake::Client::Crypto::CipherStreamBuf::m_srcBuffer' [-Wreorder]\n char *m_srcBuffer;\n" + }, + { + "file_path": "/mnt/host/cpp/crypto/CipherStreamBuf.cpp", + "line": 18, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " CipherStreamBuf::CipherStreamBuf(::std::basic_streambuf *streambuf,\n", + "source": "/mnt/host/cpp/crypto/CipherStreamBuf.cpp:18:1: warning: when initialized here [-Wreorder]\n CipherStreamBuf::CipherStreamBuf(::std::basic_streambuf *streambuf,\n" + }, + { + "file_path": "/mnt/host/cpp/jwt/ClaimSet.hpp", + "line": 91, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override\n", + "source": "/mnt/host/cpp/jwt/ClaimSet.hpp:91:37: warning: unused parameter 'format' [-Wunused-parameter]\n inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/mnt/host/cpp/jwt/Header.hpp", + "line": 74, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override\n", + "source": "/mnt/host/cpp/jwt/Header.hpp:74:37: warning: unused parameter 'format' [-Wunused-parameter]\n inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/mnt/host/cpp/jwt/Jwt.cpp", + "line": 54, + "column": 44, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " bool JWTObject::verify(EVP_PKEY *key, bool format)\n", + "source": "/mnt/host/cpp/jwt/Jwt.cpp:54:44: warning: unused parameter 'format' [-Wunused-parameter]\n bool JWTObject::verify(EVP_PKEY *key, bool format)\n" + }, + { + "file_path": "/mnt/host/cpp/lib/Connection.cpp", + "line": 27, + "column": 63, + "message": " unused parameter 'type_' ", + "flag": "-Wunused-parameter", + "snippet": " void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n", + "source": "/mnt/host/cpp/lib/Connection.cpp:27:63: warning: unused parameter 'type_' [-Wunused-parameter]\n void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n" + }, + { + "file_path": "/mnt/host/cpp/lib/Connection.cpp", + "line": 27, + "column": 82, + "message": " unused parameter 'value_' ", + "flag": "-Wunused-parameter", + "snippet": " void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n", + "source": "/mnt/host/cpp/lib/Connection.cpp:27:82: warning: unused parameter 'value_' [-Wunused-parameter]\n void Snowflake::Client::Connection::setAttribute(SF_ATTRIBUTE type_, const void *value_) {\n" + }, + { + "file_path": "/mnt/host/cpp/lib/Column.cpp", + "line": 7, + "column": 51, + "message": " unused parameter 'column_desc_' ", + "flag": "-Wunused-parameter", + "snippet": " Snowflake::Client::Column::Column(SF_COLUMN_DESC *column_desc_) {}\n", + "source": "/mnt/host/cpp/lib/Column.cpp:7:51: warning: unused parameter 'column_desc_' [-Wunused-parameter]\n Snowflake::Client::Column::Column(SF_COLUMN_DESC *column_desc_) {}\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h", + "line": 142, + "column": 67, + "message": " unused parameter 'flags' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> MakeStream(unsigned int flags) {\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h:142:67: warning: unused parameter 'flags' [-Wunused-parameter]\n virtual Result> MakeStream(unsigned int flags) {\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h", + "line": 152, + "column": 60, + "message": " unused parameter 'device_stream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Result> WrapStream(void* device_stream,\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h:152:60: warning: unused parameter 'device_stream' [-Wunused-parameter]\n virtual Result> WrapStream(void* device_stream,\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h", + "line": 153, + "column": 75, + "message": " unused parameter 'release_fn' ", + "flag": "-Wunused-parameter", + "snippet": " Stream::release_fn_t release_fn) {\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/device.h:153:75: warning: unused parameter 'release_fn' [-Wunused-parameter]\n Stream::release_fn_t release_fn) {\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 52, + "message": " unused parameter 'array' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h:178:52: warning: unused parameter 'array' [-Wunused-parameter]\n virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h", + "line": 178, + "column": 67, + "message": " unused parameter 'offset' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h:178:67: warning: unused parameter 'offset' [-Wunused-parameter]\n virtual Status AppendArraySlice(const ArraySpan& array, int64_t offset,\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h", + "line": 179, + "column": 43, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_base.h:179:43: warning: unused parameter 'length' [-Wunused-parameter]\n int64_t length) {\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_primitive.h", + "line": 35, + "column": 32, + "message": " unused parameter 'alignment' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t alignment = kDefaultBufferAlignment)\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_primitive.h:35:32: warning: unused parameter 'alignment' [-Wunused-parameter]\n int64_t alignment = kDefaultBufferAlignment)\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_primitive.h", + "line": 37, + "column": 57, + "message": " unused parameter 'type' ", + "flag": "-Wunused-parameter", + "snippet": " explicit NullBuilder(const std::shared_ptr& type,\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_primitive.h:37:57: warning: unused parameter 'type' [-Wunused-parameter]\n explicit NullBuilder(const std::shared_ptr& type,\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h", + "line": 77, + "column": 68, + "message": " unused parameter 'value' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRun(const std::shared_ptr& value,\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h:77:68: warning: unused parameter 'value' [-Wunused-parameter]\n virtual Status WillCloseRun(const std::shared_ptr& value,\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h", + "line": 78, + "column": 39, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " int64_t length) {\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h:78:39: warning: unused parameter 'length' [-Wunused-parameter]\n int64_t length) {\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h", + "line": 89, + "column": 52, + "message": " unused parameter 'length' ", + "flag": "-Wunused-parameter", + "snippet": " virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/array/builder_run_end.h:89:52: warning: unused parameter 'length' [-Wunused-parameter]\n virtual Status WillCloseRunOfEmptyValues(int64_t length) { return Status::OK(); }\n" + }, + { + "file_path": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/util/mutex.h", + "line": 40, + "column": 42, + "message": " unused parameter 'mutex' ", + "flag": "-Wunused-parameter", + "snippet": " Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n", + "source": "/mnt/host/deps-build/linux/Release/arrow/include/arrow/util/mutex.h:40:42: warning: unused parameter 'mutex' [-Wunused-parameter]\n Guard() : locked_(NULLPTR, [](Mutex* mutex) {}) {}\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ArrowChunkIterator.cpp", + "line": 62, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int col = 0; col < m_columnCount; ++col) {\n", + "source": "/mnt/host/cpp/lib/ArrowChunkIterator.cpp:62:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare]\n for (int col = 0; col < m_columnCount; ++col) {\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ArrowChunkIterator.cpp", + "line": 1094, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_columnCount; i++)\n", + "source": "/mnt/host/cpp/lib/ArrowChunkIterator.cpp:1094:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32' {aka 'unsigned int'} [-Wsign-compare]\n for (int i = 0; i < m_columnCount; i++)\n" + }, + { + "file_path": "/mnt/host/cpp/lib/result_set.cpp", + "line": 350, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n", + "source": "/mnt/host/cpp/lib/result_set.cpp:350:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n" + }, + { + "file_path": "/mnt/host/cpp/lib/result_set.cpp", + "line": 352, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n", + "source": "/mnt/host/cpp/lib/result_set.cpp:352:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n" + }, + { + "file_path": "/mnt/host/cpp/lib/result_set.cpp", + "line": 374, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n", + "source": "/mnt/host/cpp/lib/result_set.cpp:374:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n rs_obj = static_cast(((rs_arrow_t *)rs)->rs_object);\n" + }, + { + "file_path": "/mnt/host/cpp/lib/result_set.cpp", + "line": 376, + "column": 20, + "message": " this statement may fall through ", + "flag": "-Wimplicit-fallthrough=", + "snippet": " rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n", + "source": "/mnt/host/cpp/lib/result_set.cpp:376:20: warning: this statement may fall through [-Wimplicit-fallthrough=]\n rs_obj = static_cast(((rs_json_t *)rs)->rs_object);\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSet.hpp", + "line": 321, + "column": 10, + "message": " 'Snowflake::Client::ResultSet::m_isFirstChunk' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool m_isFirstChunk;\n", + "source": "/mnt/host/cpp/lib/ResultSet.hpp:321:10: warning: 'Snowflake::Client::ResultSet::m_isFirstChunk' will be initialized after [-Wreorder]\n bool m_isFirstChunk;\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSet.hpp", + "line": 311, + "column": 17, + "message": " 'std::__cxx11::string Snowflake::Client::ResultSet::m_tzString' ", + "flag": "-Wreorder", + "snippet": " std::string m_tzString;\n", + "source": "/mnt/host/cpp/lib/ResultSet.hpp:311:17: warning: 'std::__cxx11::string Snowflake::Client::ResultSet::m_tzString' [-Wreorder]\n std::string m_tzString;\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSet.cpp", + "line": 36, + "column": 1, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ResultSet::ResultSet(\n", + "source": "/mnt/host/cpp/lib/ResultSet.cpp:36:1: warning: when initialized here [-Wreorder]\n ResultSet::ResultSet(\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSetArrow.cpp", + "line": 76, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_totalColumnCount; i++)\n", + "source": "/mnt/host/cpp/lib/ResultSetArrow.cpp:76:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < m_totalColumnCount; i++)\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSetArrow.cpp", + "line": 87, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < m_totalColumnCount; i++)\n", + "source": "/mnt/host/cpp/lib/ResultSetArrow.cpp:87:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < m_totalColumnCount; i++)\n" + }, + { + "file_path": "/mnt/host/cpp/lib/ResultSetArrow.cpp", + "line": 154, + "column": 13, + "message": " unused variable 'isNull' ", + "flag": "-Wunused-variable", + "snippet": " sf_bool isNull = SF_BOOLEAN_FALSE;\n", + "source": "/mnt/host/cpp/lib/ResultSetArrow.cpp:154:13: warning: unused variable 'isNull' [-Wunused-variable]\n sf_bool isNull = SF_BOOLEAN_FALSE;\n" + }, + { + "file_path": "/mnt/host/cpp/jwt/jwtWrapper.cpp", + "line": 147, + "column": 16, + "message": " unused variable 'temp_obj' ", + "flag": "-Wunused-variable", + "snippet": " IClaimSet *temp_obj = NULL;\n", + "source": "/mnt/host/cpp/jwt/jwtWrapper.cpp:147:16: warning: unused variable 'temp_obj' [-Wunused-variable]\n IClaimSet *temp_obj = NULL;\n" + }, + { + "file_path": "/mnt/host/cpp/util/CurlDescPool.cpp", + "line": 224, + "column": 42, + "message": " unused parameter 'handle' ", + "flag": "-Wunused-parameter", + "snippet": " void CurlDescPool::curlShareLock(CURL *handle, curl_lock_data data,\n", + "source": "/mnt/host/cpp/util/CurlDescPool.cpp:224:42: warning: unused parameter 'handle' [-Wunused-parameter]\n void CurlDescPool::curlShareLock(CURL *handle, curl_lock_data data,\n" + }, + { + "file_path": "/mnt/host/cpp/util/CurlDescPool.cpp", + "line": 225, + "column": 53, + "message": " unused parameter 'access' ", + "flag": "-Wunused-parameter", + "snippet": " curl_lock_access access, void *ctx)\n", + "source": "/mnt/host/cpp/util/CurlDescPool.cpp:225:53: warning: unused parameter 'access' [-Wunused-parameter]\n curl_lock_access access, void *ctx)\n" + }, + { + "file_path": "/mnt/host/cpp/util/CurlDescPool.cpp", + "line": 255, + "column": 44, + "message": " unused parameter 'handle' ", + "flag": "-Wunused-parameter", + "snippet": " void CurlDescPool::curlShareUnlock(CURL *handle, curl_lock_data data,\n", + "source": "/mnt/host/cpp/util/CurlDescPool.cpp:255:44: warning: unused parameter 'handle' [-Wunused-parameter]\n void CurlDescPool::curlShareUnlock(CURL *handle, curl_lock_data data,\n" + }, + { + "file_path": "/mnt/host/include/snowflake/CurlDescPool.hpp", + "line": 86, + "column": 13, + "message": " 'Snowflake::Client::CurlDescPool::SubPool::m_curlShareDesc' will be initialized after ", + "flag": "-Wreorder", + "snippet": " CURLSH *m_curlShareDesc;\n", + "source": "/mnt/host/include/snowflake/CurlDescPool.hpp:86:13: warning: 'Snowflake::Client::CurlDescPool::SubPool::m_curlShareDesc' will be initialized after [-Wreorder]\n CURLSH *m_curlShareDesc;\n" + }, + { + "file_path": "/mnt/host/include/snowflake/CurlDescPool.hpp", + "line": 76, + "column": 19, + "message": " 'Snowflake::Client::CurlDescPool& Snowflake::Client::CurlDescPool::SubPool::m_parentPool' ", + "flag": "-Wreorder", + "snippet": " CurlDescPool& m_parentPool;\n", + "source": "/mnt/host/include/snowflake/CurlDescPool.hpp:76:19: warning: 'Snowflake::Client::CurlDescPool& Snowflake::Client::CurlDescPool::SubPool::m_parentPool' [-Wreorder]\n CurlDescPool& m_parentPool;\n" + }, + { + "file_path": "/mnt/host/cpp/util/CurlDescPool.cpp", + "line": 345, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " CurlDescPool::SubPool::SubPool(const std::string &endPointName,\n", + "source": "/mnt/host/cpp/util/CurlDescPool.cpp:345:3: warning: when initialized here [-Wreorder]\n CurlDescPool::SubPool::SubPool(const std::string &endPointName,\n" + }, + { + "file_path": "/mnt/host/tests/utils/test_setup.c", + "line": 155, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'long unsigned int' ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < sizeof(uuid); i++)\n", + "source": "/mnt/host/tests/utils/test_setup.c:155:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]\n for (int i = 0; i < sizeof(uuid); i++)\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 207, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_int64_type_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:207:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_int64_type_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 211, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_int64_type_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:211:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_int64_type_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 215, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_float64_type_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:215:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_float64_type_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 219, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_float64_type_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:219:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_float64_type_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 223, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_str_type_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:223:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_str_type_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 227, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_str_type_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:227:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_str_type_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 231, + "column": 48, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_timestamp_type_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:231:48: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_timestamp_type_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 235, + "column": 47, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_timestamp_type_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:235:47: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_timestamp_type_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 239, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_multi_type_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:239:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_multi_type_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 243, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_multi_type_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:243:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_multi_type_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 247, + "column": 53, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_multi_types_per_row_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:247:53: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_multi_types_per_row_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_type_conversion.c", + "line": 251, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_conv_multi_types_per_row_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_type_conversion.c:251:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_conv_multi_types_per_row_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 199, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_eval_all_cols_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:199:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_eval_all_cols_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 203, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_eval_all_cols_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:203:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_eval_all_cols_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 207, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_eval_half_cols_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:207:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_eval_half_cols_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 211, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_eval_half_cols_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:211:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_eval_half_cols_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 215, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_rows_half_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:215:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_rows_half_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 219, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_rows_half_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:219:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_rows_half_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 223, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_all_rows_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:223:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_all_rows_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 227, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_all_rows_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:227:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_all_rows_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 231, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_all_rows_no_bind_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:231:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_all_rows_no_bind_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_column_evaluation.c", + "line": 235, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_skip_all_rows_no_bind_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_column_evaluation.c:235:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_skip_all_rows_no_bind_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_sfurl.cpp", + "line": 12, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_parse_basic(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_sfurl.cpp:12:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_parse_basic(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_sfurl.cpp", + "line": 65, + "column": 35, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_parse_authority(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_sfurl.cpp:65:35: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_parse_authority(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_sfurl.cpp", + "line": 94, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_construct(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_sfurl.cpp:94:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_construct(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_sfurl.cpp", + "line": 129, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_error_parse(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_sfurl.cpp:129:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_error_parse(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_sfurl.cpp", + "line": 143, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_sfurl.cpp:143:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/IStorageClient.hpp", + "line": 53, + "column": 43, + "message": " unused parameter 'maxRetries' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setMaxRetries(unsigned int maxRetries) {};\n", + "source": "/mnt/host/tests/../cpp/IStorageClient.hpp:53:43: warning: unused parameter 'maxRetries' [-Wunused-parameter]\n virtual void setMaxRetries(unsigned int maxRetries) {};\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/FileTransferAgent.hpp", + "line": 101, + "column": 17, + "message": " 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after ", + "flag": "-Wreorder", + "snippet": " std::string m_putFileName;\n", + "source": "/mnt/host/tests/../cpp/FileTransferAgent.hpp:101:17: warning: 'Snowflake::Client::RetryContext::m_putFileName' will be initialized after [-Wreorder]\n std::string m_putFileName;\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/FileTransferAgent.hpp", + "line": 96, + "column": 19, + "message": " 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' ", + "flag": "-Wreorder", + "snippet": " unsigned long m_maxRetryCount;\n", + "source": "/mnt/host/tests/../cpp/FileTransferAgent.hpp:96:19: warning: 'long unsigned int Snowflake::Client::RetryContext::m_maxRetryCount' [-Wreorder]\n unsigned long m_maxRetryCount;\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/FileTransferAgent.hpp", + "line": 43, + "column": 5, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " RetryContext(const std::string &fileName, int maxRetries):\n", + "source": "/mnt/host/tests/../cpp/FileTransferAgent.hpp:43:5: warning: when initialized here [-Wreorder]\n RetryContext(const std::string &fileName, int maxRetries):\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/util/ByteArrayStreamBuf.hpp", + "line": 31, + "column": 10, + "message": " type qualifiers ignored on function return type ", + "flag": "-Wignored-qualifiers", + "snippet": " inline const unsigned int getCapacity()\n", + "source": "/mnt/host/tests/../cpp/util/ByteArrayStreamBuf.hpp:31:10: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]\n inline const unsigned int getCapacity()\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/util/ThreadPool.hpp", + "line": 50, + "column": 8, + "message": " 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool finished;\n", + "source": "/mnt/host/tests/../cpp/util/ThreadPool.hpp:50:8: warning: 'Snowflake::Client::Util::ThreadPool::finished' will be initialized after [-Wreorder]\n bool finished;\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/util/ThreadPool.hpp", + "line": 38, + "column": 22, + "message": " 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' ", + "flag": "-Wreorder", + "snippet": " const unsigned int threadCount;\n", + "source": "/mnt/host/tests/../cpp/util/ThreadPool.hpp:38:22: warning: 'const unsigned int Snowflake::Client::Util::ThreadPool::threadCount' [-Wreorder]\n const unsigned int threadCount;\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/util/ThreadPool.hpp", + "line": 137, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " ThreadPool(unsigned int threadNum)\n", + "source": "/mnt/host/tests/../cpp/util/ThreadPool.hpp:137:3: warning: when initialized here [-Wreorder]\n ThreadPool(unsigned int threadNum)\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp", + "line": 38, + "column": 33, + "message": " unused parameter 'uploadId' ", + "flag": "-Wunused-parameter", + "snippet": " MultiUploadCtx_a(std::string &uploadId,\n", + "source": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp:38:33: warning: unused parameter 'uploadId' [-Wunused-parameter]\n MultiUploadCtx_a(std::string &uploadId,\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp", + "line": 39, + "column": 18, + "message": " unused parameter 'partNumber' ", + "flag": "-Wunused-parameter", + "snippet": " unsigned int partNumber,\n", + "source": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp:39:18: warning: unused parameter 'partNumber' [-Wunused-parameter]\n unsigned int partNumber,\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp", + "line": 40, + "column": 18, + "message": " unused parameter 'key' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &key,\n", + "source": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp:40:18: warning: unused parameter 'key' [-Wunused-parameter]\n std::string &key,\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp", + "line": 41, + "column": 18, + "message": " unused parameter 'bucket' ", + "flag": "-Wunused-parameter", + "snippet": " std::string &bucket)\n", + "source": "/mnt/host/tests/../cpp/SnowflakeAzureClient.hpp:41:18: warning: unused parameter 'bucket' [-Wunused-parameter]\n std::string &bucket)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 55, + "column": 51, + "message": " unused parameter 'command' ", + "flag": "-Wunused-parameter", + "snippet": " virtual ITransferResult *execute(std::string *command)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:55:51: warning: unused parameter 'command' [-Wunused-parameter]\n virtual ITransferResult *execute(std::string *command)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 61, + "column": 62, + "message": " unused parameter 'uploadStream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setUploadStream(std::basic_iostream * uploadStream,\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:61:62: warning: unused parameter 'uploadStream' [-Wunused-parameter]\n virtual void setUploadStream(std::basic_iostream * uploadStream,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 62, + "column": 41, + "message": " unused parameter 'dataSize' ", + "flag": "-Wunused-parameter", + "snippet": " size_t dataSize)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:62:41: warning: unused parameter 'dataSize' [-Wunused-parameter]\n size_t dataSize)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 95, + "column": 40, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:95:40: warning: unused parameter 'sql' [-Wunused-parameter]\n bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 154, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_cafile_path_too_long(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:154:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_cafile_path_too_long(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 171, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_empty_cafile_noenv(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:171:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_empty_cafile_noenv(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 208, + "column": 47, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_empty_cafile_from_env(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:208:47: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_empty_cafile_from_env(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 242, + "column": 54, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_empty_cafile_from_global_env(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:242:54: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_empty_cafile_from_global_env(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 276, + "column": 75, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_cafile_path_too_long_from_env_transferconfig_null(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:276:75: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_cafile_path_too_long_from_env_transferconfig_null(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_azure_client.cpp", + "line": 310, + "column": 82, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_azure_cafile_path_too_long_from_global_env_transferconfig_null(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_azure_client.cpp:310:82: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_azure_cafile_path_too_long_from_global_env_transferconfig_null(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_set_get_attributes.cpp", + "line": 83, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_set_get_all_attributes(void **unused)\n", + "source": "/mnt/host/tests/test_unit_set_get_attributes.cpp:83:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_set_get_all_attributes(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oob.cpp", + "line": 137, + "column": 25, + "message": " comparison of integer expressions of different signedness: 'int' and 'long unsigned int' ", + "flag": "-Wsign-compare", + "snippet": " for (evnt = 0; evnt < sizeof(testcase)/sizeof(SF_SETTINGS); ++evnt) {\n", + "source": "/mnt/host/tests/test_unit_oob.cpp:137:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]\n for (evnt = 0; evnt < sizeof(testcase)/sizeof(SF_SETTINGS); ++evnt) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oob.cpp", + "line": 207, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int j = 0; j < SF_SENSITIVE_KEYS.size(); ++j) {\n", + "source": "/mnt/host/tests/test_unit_oob.cpp:207:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int j = 0; j < SF_SENSITIVE_KEYS.size(); ++j) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oob.cpp", + "line": 230, + "column": 29, + "message": " comparison of integer expressions of different signedness: 'int' and 'long unsigned int' ", + "flag": "-Wsign-compare", + "snippet": " for (int evnt = 0; evnt < sizeof(dsnParameters)/sizeof(SF_PAIR); ++evnt) {\n", + "source": "/mnt/host/tests/test_unit_oob.cpp:230:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]\n for (int evnt = 0; evnt < sizeof(dsnParameters)/sizeof(SF_PAIR); ++evnt) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oob.cpp", + "line": 238, + "column": 27, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < SF_SENSITIVE_KEYS.size(); ++i) {\n", + "source": "/mnt/host/tests/test_unit_oob.cpp:238:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < SF_SENSITIVE_KEYS.size(); ++i) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oob.cpp", + "line": 297, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'long unsigned int' ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < sizeof(simbaParameters)/sizeof(SF_PAIR); ++i) {\n", + "source": "/mnt/host/tests/test_unit_oob.cpp:297:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]\n for (int i = 0; i < sizeof(simbaParameters)/sizeof(SF_PAIR); ++i) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 18, + "column": 21, + "message": " unused parameter 'scheme' ", + "flag": "-Wunused-parameter", + "snippet": " Proxy::Protocol scheme,\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:18:21: warning: unused parameter 'scheme' [-Wunused-parameter]\n Proxy::Protocol scheme,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 36, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_machine_only(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:36:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_machine_only(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 41, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_machine_and_port(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:41:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_machine_and_port(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 46, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_machine_and_scheme(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:46:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_machine_and_scheme(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 51, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_machine_port_scheme(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:51:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_machine_port_scheme(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 56, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_all(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:56:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_all(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 62, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_proxy_empty(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:62:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_proxy_empty(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 67, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_allproxy_noproxy_fromenv(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:67:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_allproxy_noproxy_fromenv(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 76, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_httpsproxy_fromenv(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:76:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_httpsproxy_fromenv(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 83, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_httpproxy_fromenv(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:83:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_httpproxy_fromenv(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_proxy.cpp", + "line": 90, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_noproxy_fromenv(void **unused)\n", + "source": "/mnt/host/tests/test_unit_proxy.cpp:90:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_noproxy_fromenv(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 99, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_is_empty(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:99:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_is_empty(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 106, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_with_some_data(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:106:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_with_some_data(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 114, + "column": 50, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_with_some_data_in_random_order(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:114:50: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_with_some_data_in_random_order(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 122, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_more_than_capacity(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:122:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_more_than_capacity(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 137, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_timestamp(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:137:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_timestamp(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 156, + "column": 35, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_priority(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:156:35: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_priority(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 187, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_add_same_priority(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:187:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_add_same_priority(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 205, + "column": 51, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_add_same_id_but_stale_timestamp(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:205:51: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_add_same_id_but_stale_timestamp(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 220, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_empty_cache_with_null_data(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:220:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_empty_cache_with_null_data(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 231, + "column": 56, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_empty_cache_with_empty_response_data(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:231:56: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_empty_cache_with_empty_response_data(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 242, + "column": 67, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_serialize_request_and_deserialize_response_data(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:242:67: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_serialize_request_and_deserialize_response_data(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 260, + "column": 86, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_serialize_request_and_deserialize_response_data_with_empty_context(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:260:86: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_serialize_request_and_deserialize_response_data_with_empty_context(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_query_context_cache.cpp", + "line": 277, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_query_context_cache.cpp:277:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_jwt.cpp", + "line": 171, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_missing_private_key(void **unused) {\n", + "source": "/mnt/host/tests/test_jwt.cpp:171:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_missing_private_key(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_jwt.cpp", + "line": 192, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_unencrypted_pem(void **unused) {\n", + "source": "/mnt/host/tests/test_jwt.cpp:192:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_unencrypted_pem(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_jwt.cpp", + "line": 217, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_encrypted_pem(void **unused) {\n", + "source": "/mnt/host/tests/test_jwt.cpp:217:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_encrypted_pem(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_jwt.cpp", + "line": 279, + "column": 24, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_renew(void **unused) {\n", + "source": "/mnt/host/tests/test_jwt.cpp:279:24: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_renew(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_thread_pool.cpp", + "line": 10, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_thread_pool(void **unused)\n", + "source": "/mnt/host/tests/test_unit_thread_pool.cpp:10:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_thread_pool(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 170, + "column": 8, + "message": " 'MockedGCSStatement::m_isPut' will be initialized after ", + "flag": "-Wreorder", + "snippet": " bool m_isPut;\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:170:8: warning: 'MockedGCSStatement::m_isPut' will be initialized after [-Wreorder]\n bool m_isPut;\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 38, + "column": 43, + "message": " base 'Snowflake::Client::IStatementPutGet' ", + "flag": "-Wreorder", + "snippet": " Snowflake::Client::IStatementPutGet()\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:38:43: warning: base 'Snowflake::Client::IStatementPutGet' [-Wreorder]\n Snowflake::Client::IStatementPutGet()\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 34, + "column": 3, + "message": " when initialized here ", + "flag": "-Wreorder", + "snippet": " MockedGCSStatement(bool useGcsToken)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:34:3: warning: when initialized here [-Wreorder]\n MockedGCSStatement(bool useGcsToken)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 106, + "column": 23, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < headers.size(); i++)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:106:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < headers.size(); i++)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 97, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream& payload,\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:97:52: warning: unused parameter 'payload' [-Wunused-parameter]\n std::basic_iostream& payload,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 98, + "column": 32, + "message": " unused parameter 'payloadLen' ", + "flag": "-Wunused-parameter", + "snippet": " size_t payloadLen,\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:98:32: warning: unused parameter 'payloadLen' [-Wunused-parameter]\n size_t payloadLen,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 99, + "column": 38, + "message": " unused parameter 'responseHeaders' ", + "flag": "-Wunused-parameter", + "snippet": " std::string& responseHeaders) override\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:99:38: warning: unused parameter 'responseHeaders' [-Wunused-parameter]\n std::string& responseHeaders) override\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 144, + "column": 25, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < headers.size(); i++)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:144:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < headers.size(); i++)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 117, + "column": 52, + "message": " unused parameter 'payload' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* payload,\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:117:52: warning: unused parameter 'payload' [-Wunused-parameter]\n std::basic_iostream* payload,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 232, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_put_gcs_with_token(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:232:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_put_gcs_with_token(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 240, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_get_gcs_with_token(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:240:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_get_gcs_with_token(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 248, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_put_gcs_with_presignedurl(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:248:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_put_gcs_with_presignedurl(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 256, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_get_gcs_with_presignedurl(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:256:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_get_gcs_with_presignedurl(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_gcs.cpp", + "line": 261, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_gcs.cpp:261:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_snowflake_types_to_string.cpp", + "line": 53, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_snowflake_type_to_string(void **unused)\n", + "source": "/mnt/host/tests/test_unit_snowflake_types_to_string.cpp:53:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_snowflake_type_to_string(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_snowflake_types_to_string.cpp", + "line": 65, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_snowflake_c_type_to_string(void **unused)\n", + "source": "/mnt/host/tests/test_unit_snowflake_types_to_string.cpp:65:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_snowflake_c_type_to_string(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_bool.c", + "line": 157, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_bool_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_bool.c:157:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_bool_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_bool.c", + "line": 161, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_bool_json(void **unused) {\n", + "source": "/mnt/host/tests/test_bool.c:161:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_bool_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_binary.c", + "line": 138, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_selectbin_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_binary.c:138:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_selectbin_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_binary.c", + "line": 142, + "column": 33, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_selectbin_json(void **unused) {\n", + "source": "/mnt/host/tests/test_binary.c:142:33: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_selectbin_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_base64.cpp", + "line": 169, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_base64_coding(void **unused)\n", + "source": "/mnt/host/tests/test_unit_base64.cpp:169:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_base64_coding(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_base64.cpp", + "line": 228, + "column": 25, + "message": " comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} ", + "flag": "-Wsign-compare", + "snippet": " for (int i = 0; i < decodeActual.size(); i++)\n", + "source": "/mnt/host/tests/test_unit_base64.cpp:228:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]\n for (int i = 0; i < decodeActual.size(); i++)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_base64.cpp", + "line": 242, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_base64_url_coding(void **unused)\n", + "source": "/mnt/host/tests/test_unit_base64.cpp:242:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_base64_url_coding(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_timezone.c", + "line": 8, + "column": 27, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timezone(void **unused) {\n", + "source": "/mnt/host/tests/test_timezone.c:8:27: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timezone(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_transaction.c", + "line": 7, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_transaction(void **unused) {\n", + "source": "/mnt/host/tests/test_transaction.c:7:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_transaction(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_large_result_set.c", + "line": 76, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_large_result_set_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_large_result_set.c:76:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_large_result_set_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_large_result_set.c", + "line": 80, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_large_result_set_json(void **unused) {\n", + "source": "/mnt/host/tests/test_large_result_set.c:80:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_large_result_set_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 11, + "column": 53, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_default_port(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:11:53: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_default_port(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 26, + "column": 48, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_no_host(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:26:48: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_no_host(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 41, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_with_region(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:41:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_with_region(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 58, + "column": 55, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_with_cn_region(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:58:55: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_with_cn_region(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 75, + "column": 57, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_including_region(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:75:57: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_including_region(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 96, + "column": 71, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_including_region_including_dot(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:96:71: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_including_region_including_dot(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 114, + "column": 61, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_for_global_url_basic(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:114:61: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_for_global_url_basic(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 132, + "column": 60, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_for_global_url_full(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:132:60: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_for_global_url_full(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 153, + "column": 71, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_for_global_with_account_dashes(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:153:71: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_for_global_with_account_dashes(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_connect_parameters.c", + "line": 174, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connection_parameters_application(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_connect_parameters.c:174:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connection_parameters_application(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 78, + "column": 51, + "message": " unused parameter 'command' ", + "flag": "-Wunused-parameter", + "snippet": " virtual ITransferResult *execute(std::string *command)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:78:51: warning: unused parameter 'command' [-Wunused-parameter]\n virtual ITransferResult *execute(std::string *command)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 84, + "column": 62, + "message": " unused parameter 'uploadStream' ", + "flag": "-Wunused-parameter", + "snippet": " virtual void setUploadStream(std::basic_iostream * uploadStream,\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:84:62: warning: unused parameter 'uploadStream' [-Wunused-parameter]\n virtual void setUploadStream(std::basic_iostream * uploadStream,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 85, + "column": 41, + "message": " unused parameter 'dataSize' ", + "flag": "-Wunused-parameter", + "snippet": " size_t dataSize)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:85:41: warning: unused parameter 'dataSize' [-Wunused-parameter]\n size_t dataSize)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 125, + "column": 40, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:125:40: warning: unused parameter 'sql' [-Wunused-parameter]\n bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 210, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_put_stage_endpoint(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:210:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_put_stage_endpoint(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 239, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_put_stage_regional(void** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:239:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_put_stage_regional(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 250, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_s3_cafile_path_empty(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:250:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_s3_cafile_path_empty(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 263, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_s3_cafile_path_too_long(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:263:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_s3_cafile_path_too_long(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 279, + "column": 50, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_s3_global_cafile_path_too_long(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:279:50: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_s3_global_cafile_path_too_long(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_get_fips.cpp", + "line": 304, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_get_fips.cpp:304:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_stmt_functions.c", + "line": 9, + "column": 24, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_sfqid(void **unused) {\n", + "source": "/mnt/host/tests/test_stmt_functions.c:9:24: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_sfqid(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oauth.c", + "line": 13, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_oauth_with_no_token(void** unused)\n", + "source": "/mnt/host/tests/test_unit_oauth.c:13:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_oauth_with_no_token(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_oauth.c", + "line": 33, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_json_data_in_oauth(void** unused)\n", + "source": "/mnt/host/tests/test_unit_oauth.c:33:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_json_data_in_oauth(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 32, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:32:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 33, + "column": 56, + "message": " unused parameter 'putGetParseResponse' ", + "flag": "-Wunused-parameter", + "snippet": " PutGetParseResponse *putGetParseResponse)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:33:56: warning: unused parameter 'putGetParseResponse' [-Wunused-parameter]\n PutGetParseResponse *putGetParseResponse)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 56, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:56:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 107, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:107:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 146, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:146:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 193, + "column": 60, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:193:60: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 194, + "column": 61, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream *dataStream)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:194:61: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream *dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 210, + "column": 19, + "message": " unused parameter 'filePathFull' ", + "flag": "-Wunused-parameter", + "snippet": " std::string * filePathFull, FileMetadata *fileMetadata)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:210:19: warning: unused parameter 'filePathFull' [-Wunused-parameter]\n std::string * filePathFull, FileMetadata *fileMetadata)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 232, + "column": 63, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:232:63: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 233, + "column": 75, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* dataStream)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:233:75: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream* dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 275, + "column": 60, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:275:60: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 276, + "column": 61, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream *dataStream)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:276:61: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream *dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 282, + "column": 63, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:282:63: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 283, + "column": 75, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* dataStream)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:283:75: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream* dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 290, + "column": 19, + "message": " unused parameter 'filePathFull' ", + "flag": "-Wunused-parameter", + "snippet": " std::string * filePathFull, FileMetadata *fileMetadata)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:290:19: warning: unused parameter 'filePathFull' [-Wunused-parameter]\n std::string * filePathFull, FileMetadata *fileMetadata)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 327, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_token_renew_small_files(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:327:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_token_renew_small_files(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 332, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_token_renew_large_file(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:332:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_token_renew_large_file(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 349, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_token_renew_get_remote_meta(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:349:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_token_renew_get_remote_meta(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 387, + "column": 22, + "message": " unused variable 'result' ", + "flag": "-Wunused-variable", + "snippet": " ITransferResult *result = agent.execute(&cmd);\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:387:22: warning: unused variable 'result' [-Wunused-variable]\n ITransferResult *result = agent.execute(&cmd);\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 375, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_parse_exception(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:375:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_parse_exception(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 416, + "column": 22, + "message": " unused variable 'result' ", + "flag": "-Wunused-variable", + "snippet": " ITransferResult *result = agent.execute(&cmd);\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:416:22: warning: unused variable 'result' [-Wunused-variable]\n ITransferResult *result = agent.execute(&cmd);\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 400, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_transfer_exception_upload(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:400:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_transfer_exception_upload(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 425, + "column": 46, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_transfer_exception_download(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:425:46: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_transfer_exception_download(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 447, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int large_file_removal(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:447:38: warning: unused parameter 'unused' [-Wunused-parameter]\n static int large_file_removal(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 456, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:456:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cred_renew.cpp", + "line": 447, + "column": 12, + "message": " 'int large_file_removal(void**)' defined but not used ", + "flag": "-Wunused-function", + "snippet": " static int large_file_removal(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cred_renew.cpp:447:12: warning: 'int large_file_removal(void**)' defined but not used [-Wunused-function]\n static int large_file_removal(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_variant.c", + "line": 126, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_variant_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_variant.c:126:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_variant_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_variant.c", + "line": 130, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_variant_json(void **unused) {\n", + "source": "/mnt/host/tests/test_variant.c:130:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_variant_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_time.c", + "line": 152, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_time_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_time.c:152:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_time_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_time.c", + "line": 156, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_time_json(void **unused) {\n", + "source": "/mnt/host/tests/test_time.c:156:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_time_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_ntz.c", + "line": 189, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_ntz_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_ntz.c:189:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_ntz_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_ntz.c", + "line": 194, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_ntz_json(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_ntz.c:194:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_ntz_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_ping_pong.c", + "line": 9, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_ping_pong(void **unused) {\n", + "source": "/mnt/host/tests/test_ping_pong.c:9:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_ping_pong(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 31, + "column": 5, + "message": " missing initializer for field 'start_time' of 'RETRY_CONTEXT' {aka 'struct RETRY_CONTEXT'} ", + "flag": "-Wmissing-field-initializers", + "snippet": " };\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:31:5: warning: missing initializer for field 'start_time' of 'RETRY_CONTEXT' {aka 'struct RETRY_CONTEXT'} [-Wmissing-field-initializers]\n };\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 22, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_url_no_guid(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:22:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_url_no_guid(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 47, + "column": 3, + "message": " missing initializer for field 'start_time' of 'RETRY_CONTEXT' {aka 'struct RETRY_CONTEXT'} ", + "flag": "-Wmissing-field-initializers", + "snippet": " };\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:47:3: warning: missing initializer for field 'start_time' of 'RETRY_CONTEXT' {aka 'struct RETRY_CONTEXT'} [-Wmissing-field-initializers]\n };\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 38, + "column": 45, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_other_url_with_guid(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:38:45: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_other_url_with_guid(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 64, + "column": 62, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_query_url_with_retry_reason_disabled(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:64:62: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_query_url_with_retry_reason_disabled(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 140, + "column": 61, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_update_query_url_with_retry_reason_enabled(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:140:61: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_update_query_url_with_retry_reason_enabled(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 245, + "column": 21, + "message": " comparison of integer expressions of different signedness: 'uint32' {aka 'unsigned int'} and 'int' ", + "flag": "-Wsign-compare", + "snippet": " if (total_backoff < SF_RETRY_TIMEOUT - delta)\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:245:21: warning: comparison of integer expressions of different signedness: 'uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare]\n if (total_backoff < SF_RETRY_TIMEOUT - delta)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 222, + "column": 10, + "message": " unused variable 'backoff' ", + "flag": "-Wunused-variable", + "snippet": " uint32 backoff = SF_BACKOFF_BASE;\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:222:10: warning: unused variable 'backoff' [-Wunused-variable]\n uint32 backoff = SF_BACKOFF_BASE;\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 207, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_new_retry_strategy(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:207:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_new_retry_strategy(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_retry_context.c", + "line": 258, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_retry_request_header(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_retry_context.c:258:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_retry_request_header(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 7, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_account_missing(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:7:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_account_missing(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 24, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_user_missing(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:24:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_user_missing(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 41, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_password_missing(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:41:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_password_missing(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 58, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_invalid_database(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:58:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_invalid_database(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 73, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_invalid_schema(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:73:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_invalid_schema(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 88, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_invalid_warehouse(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:88:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_invalid_warehouse(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 103, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_invalid_role(void **unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:103:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_invalid_role(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 118, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_login_timeout(void** unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:118:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_login_timeout(void** unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect_negative.c", + "line": 138, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_chunk_downloading_timeout(void** unused) {\n", + "source": "/mnt/host/tests/test_connect_negative.c:138:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_chunk_downloading_timeout(void** unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_null.c", + "line": 202, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_null_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_null.c:202:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_null_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_null.c", + "line": 206, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_null_json(void **unused) {\n", + "source": "/mnt/host/tests/test_null.c:206:28: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_null_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_error_handlings.c", + "line": 6, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_syntax_error(void **unused) {\n", + "source": "/mnt/host/tests/test_error_handlings.c:6:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_syntax_error(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_error_handlings.c", + "line": 27, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_incorrect_password(void **unused) {\n", + "source": "/mnt/host/tests/test_error_handlings.c:27:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_incorrect_password(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 10, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_null_sf_connect(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:10:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_null_sf_connect(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 20, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_no_connection_parameters(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:20:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_no_connection_parameters(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 32, + "column": 50, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_minimum_parameters(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:32:50: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_minimum_parameters(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 64, + "column": 47, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_full_parameters(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:64:47: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_full_parameters(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 78, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_disable_qcc(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:78:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_disable_qcc(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 100, + "column": 53, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_include_retry_context(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:100:53: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_include_retry_context(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 156, + "column": 53, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_ocsp_cache_server_off(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:156:53: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_ocsp_cache_server_off(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 174, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_ocsp_cache_server_on(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:174:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_ocsp_cache_server_on(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_connect.c", + "line": 196, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_connect_with_proxy(void **unused) {\n", + "source": "/mnt/host/tests/test_connect.c:196:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_connect_with_proxy(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_params.c", + "line": 10, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_bind_parameters(void **unused) {\n", + "source": "/mnt/host/tests/test_bind_params.c:10:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_bind_parameters(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_mfa_auth.c", + "line": 13, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_json_data_in_MFA_Auth(void **unused)\n", + "source": "/mnt/host/tests/test_unit_mfa_auth.c:13:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_json_data_in_MFA_Auth(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_named_params.c", + "line": 10, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_bind_named_parameters(void **unused) {\n", + "source": "/mnt/host/tests/test_bind_named_params.c:10:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_bind_named_parameters(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_change_current.c", + "line": 7, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_change_current_schema(void **unused) {\n", + "source": "/mnt/host/tests/test_change_current.c:7:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_change_current_schema(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 78, + "column": 12, + "message": " unused variable 'len' ", + "flag": "-Wunused-variable", + "snippet": " size_t len;\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:78:12: warning: unused variable 'len' [-Wunused-variable]\n size_t len;\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 166, + "column": 9, + "message": " unused variable 'row' ", + "flag": "-Wunused-variable", + "snippet": " int row = 0;\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:166:9: warning: unused variable 'row' [-Wunused-variable]\n int row = 0;\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 214, + "column": 51, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_string_read_fixed_size_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:214:51: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_string_read_fixed_size_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 218, + "column": 50, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_string_read_fixed_size_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:218:50: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_string_read_fixed_size_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 222, + "column": 57, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_string_manipulate_fixed_size_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:222:57: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_string_manipulate_fixed_size_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 226, + "column": 56, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_string_manipulate_fixed_size_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:226:56: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_string_manipulate_fixed_size_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 230, + "column": 68, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_buffer_copy_unknown_size_dynamic_memory_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:230:68: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_buffer_copy_unknown_size_dynamic_memory_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 234, + "column": 67, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_buffer_copy_unknown_size_dynamic_memory_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:234:67: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_buffer_copy_unknown_size_dynamic_memory_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 238, + "column": 61, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_buffer_copy_concat_multiple_rows_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:238:61: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_buffer_copy_concat_multiple_rows_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_perf_string_reads_and_writes.c", + "line": 242, + "column": 60, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_col_buffer_copy_concat_multiple_rows_json(void **unused) {\n", + "source": "/mnt/host/tests/test_perf_string_reads_and_writes.c:242:60: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_col_buffer_copy_concat_multiple_rows_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_number.c", + "line": 177, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_number_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_number.c:177:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_number_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_number.c", + "line": 181, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_number_json(void **unused) {\n", + "source": "/mnt/host/tests/test_number.c:181:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_number_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_stmt_with_bad_connect.c", + "line": 10, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_no_connect_and_retry(void **unused) {\n", + "source": "/mnt/host/tests/test_stmt_with_bad_connect.c:10:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_no_connect_and_retry(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_crud.c", + "line": 63, + "column": 23, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_crud(void **unused) {\n", + "source": "/mnt/host/tests/test_crud.c:63:23: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_crud(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_check_ctypes.c", + "line": 6, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_check_c_types(void **unused) {\n", + "source": "/mnt/host/tests/test_check_ctypes.c:6:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_check_c_types(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 67, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:67:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 68, + "column": 56, + "message": " unused parameter 'putGetParseResponse' ", + "flag": "-Wunused-parameter", + "snippet": " PutGetParseResponse *putGetParseResponse)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:68:56: warning: unused parameter 'putGetParseResponse' [-Wunused-parameter]\n PutGetParseResponse *putGetParseResponse)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 93, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:93:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 131, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:131:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 174, + "column": 61, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream *dataStream)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:174:61: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream *dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 201, + "column": 19, + "message": " unused parameter 'filePathFull' ", + "flag": "-Wunused-parameter", + "snippet": " std::string * filePathFull, FileMetadata *fileMetadata)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:201:19: warning: unused parameter 'filePathFull' [-Wunused-parameter]\n std::string * filePathFull, FileMetadata *fileMetadata)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 212, + "column": 75, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* dataStream)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:212:75: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream* dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 368, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_put_fast_fail_sequential(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:368:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_put_fast_fail_sequential(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 381, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_put_fast_fail_parallel(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:381:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_put_fast_fail_parallel(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 388, + "column": 49, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_put_fast_fail_large_sequential(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:388:49: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_put_fast_fail_large_sequential(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 395, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_fast_fail_sequential(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:395:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_fast_fail_sequential(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 402, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_fast_fail_parallel(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:402:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_fast_fail_parallel(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 409, + "column": 49, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_fast_fail_large_sequential(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:409:49: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_fast_fail_large_sequential(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 416, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_teardown(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:416:31: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_teardown(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 430, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:430:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_fast_fail.cpp", + "line": 438, + "column": 10, + "message": " unused variable 'unused' ", + "flag": "-Wunused-variable", + "snippet": " void **unused;\n", + "source": "/mnt/host/tests/test_unit_put_fast_fail.cpp:438:10: warning: unused variable 'unused' [-Wunused-variable]\n void **unused;\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_tz.c", + "line": 199, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_tz_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_tz.c:199:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_tz_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_tz.c", + "line": 204, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_tz_json(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_tz.c:204:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_tz_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_adjust_fetch_data.c", + "line": 12, + "column": 61, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_select_long_data_with_small_initial_buffer(void **unused) {\n", + "source": "/mnt/host/tests/test_adjust_fetch_data.c:12:61: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_select_long_data_with_small_initial_buffer(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_issue_76.c", + "line": 8, + "column": 27, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_issue_76(void **unused) {\n", + "source": "/mnt/host/tests/test_issue_76.c:8:27: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_issue_76(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1313, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_boolean_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1313:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_boolean_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1317, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_boolean_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1317:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_boolean_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1321, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int8_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1321:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int8_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1325, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int8_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1325:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int8_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1329, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int32_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1329:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int32_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1333, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int32_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1333:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int32_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1337, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int64_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1337:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int64_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1341, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_int64_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1341:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_int64_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1345, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint8_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1345:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint8_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1349, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint8_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1349:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint8_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1353, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint32_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1353:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint32_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1357, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint32_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1357:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint32_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1361, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint64_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1361:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint64_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1365, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_uint64_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1365:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_uint64_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1369, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_float32_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1369:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_float32_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1373, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_float32_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1373:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_float32_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1377, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_float64_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1377:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_float64_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1381, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_float64_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1381:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_float64_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1385, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_timestamp_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1385:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_timestamp_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1389, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_timestamp_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1389:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_timestamp_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1393, + "column": 52, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_timestamp_windows_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1393:52: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_timestamp_windows_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1397, + "column": 51, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_timestamp_windows_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1397:51: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_timestamp_windows_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1401, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_const_str_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1401:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_const_str_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1405, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_const_str_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1405:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_const_str_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1409, + "column": 39, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_is_null_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1409:39: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_is_null_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1413, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_is_null_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1413:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_is_null_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1417, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_strlen_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1417:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_strlen_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1421, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_strlen_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1421:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_strlen_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1425, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_str_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1425:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_str_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_column_fetch.c", + "line": 1429, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_column_as_str_json(void **unused) {\n", + "source": "/mnt/host/tests/test_column_fetch.c:1429:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_column_as_str_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_select1.c", + "line": 7, + "column": 26, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_select1(void **unused) {\n", + "source": "/mnt/host/tests/test_select1.c:7:26: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_select1(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/../lib/connection.h", + "line": 28, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"wldap32.lib\" )\n", + "source": "/mnt/host/tests/../lib/connection.h:28: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"wldap32.lib\" )\n" + }, + { + "file_path": "/mnt/host/tests/../lib/connection.h", + "line": 29, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"crypt32.lib\" )\n", + "source": "/mnt/host/tests/../lib/connection.h:29: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"crypt32.lib\" )\n" + }, + { + "file_path": "/mnt/host/tests/../lib/connection.h", + "line": 30, + "column": null, + "message": " ignoring #pragma comment ", + "flag": "-Wunknown-pragmas", + "snippet": " #pragma comment(lib, \"Ws2_32.lib\")\n", + "source": "/mnt/host/tests/../lib/connection.h:30: warning: ignoring #pragma comment [-Wunknown-pragmas]\n #pragma comment(lib, \"Ws2_32.lib\")\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_ltz.c", + "line": 208, + "column": 38, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_ltz_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_ltz.c:208:38: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_ltz_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_timestamp_ltz.c", + "line": 213, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_timestamp_ltz_json(void **unused) {\n", + "source": "/mnt/host/tests/test_timestamp_ltz.c:213:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_timestamp_ltz_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_native_timestamp.c", + "line": 91, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_native_timestamp_arrow(void **unused) {\n", + "source": "/mnt/host/tests/test_native_timestamp.c:91:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_native_timestamp_arrow(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_native_timestamp.c", + "line": 95, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_native_timestamp_json(void **unused) {\n", + "source": "/mnt/host/tests/test_native_timestamp.c:95:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_native_timestamp_json(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_encryption.cpp", + "line": 52, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_aes_cbc_mode_encryption(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_encryption.cpp:52:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_aes_cbc_mode_encryption(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_encryption.cpp", + "line": 78, + "column": 42, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_aes_gcm_mode_encryption(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_encryption.cpp:78:42: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_aes_gcm_mode_encryption(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_get_query_result_response.c", + "line": 15, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_query_result_response(void **unused) {\n", + "source": "/mnt/host/tests/test_get_query_result_response.c:15:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_query_result_response(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_get_query_result_response.c", + "line": 62, + "column": 51, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_query_result_response_failed(void **unused) {\n", + "source": "/mnt/host/tests/test_get_query_result_response.c:62:51: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_query_result_response_failed(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 23, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_gzip(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:23:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_gzip(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 28, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_none(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:28:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_none(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 33, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_bz2(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:33:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_bz2(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 38, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_zst(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:38:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_zst(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 43, + "column": 30, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_zero(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:43:30: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_zero(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 48, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_one(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:48:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_one(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 53, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_brotli(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:53:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_brotli(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 58, + "column": 33, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_parquet(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:58:33: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_parquet(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 63, + "column": 29, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_orc(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:63:29: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_orc(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_type_detect.cpp", + "line": 68, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_detect_noextension(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_type_detect.cpp:68:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_detect_noextension(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_ocsp_fail_open.c", + "line": 43, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_fail_open_revoked(void **unused) {\n", + "source": "/mnt/host/tests/test_ocsp_fail_open.c:43:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_fail_open_revoked(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_ocsp_fail_open.c", + "line": 69, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_fail_close_timeout(void** unused) {\n", + "source": "/mnt/host/tests/test_ocsp_fail_open.c:69:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_fail_close_timeout(void** unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_ocsp_fail_open.c", + "line": 95, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_fail_open_timeout(void** unused) {\n", + "source": "/mnt/host/tests/test_ocsp_fail_open.c:95:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_fail_open_timeout(void** unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_logger.c", + "line": 14, + "column": 35, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_log_str_to_level(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_logger.c:14:35: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_log_str_to_level(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_logger.c", + "line": 31, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_log_creation(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_logger.c:31:31: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_log_creation(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_logger.c", + "line": 57, + "column": 34, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_mask_secret_log(void **unused) {\n", + "source": "/mnt/host/tests/test_unit_logger.c:57:34: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_mask_secret_log(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp", + "line": 47, + "column": 41, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_cipher_stream_buf_zero(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp:47:41: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_cipher_stream_buf_zero(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp", + "line": 56, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_cipher_stream_buf_one(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp:56:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_cipher_stream_buf_one(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp", + "line": 65, + "column": 40, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_cipher_stream_buf_two(void **unused)\n", + "source": "/mnt/host/tests/test_unit_cipher_stream_buf.cpp:65:40: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_cipher_stream_buf_two(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_manual_connect.c", + "line": 10, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_oauth_connect(void **unused)\n", + "source": "/mnt/host/tests/test_manual_connect.c:10:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_oauth_connect(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_manual_connect.c", + "line": 50, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_mfa_connect_with_duo_push(void** unused)\n", + "source": "/mnt/host/tests/test_manual_connect.c:50:44: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_mfa_connect_with_duo_push(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_manual_connect.c", + "line": 84, + "column": 48, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_mfa_connect_with_duo_passcode(void** unused)\n", + "source": "/mnt/host/tests/test_manual_connect.c:84:48: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_mfa_connect_with_duo_passcode(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_manual_connect.c", + "line": 126, + "column": 58, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_mfa_connect_with_duo_passcodeInPassword(void** unused)\n", + "source": "/mnt/host/tests/test_manual_connect.c:126:58: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_mfa_connect_with_duo_passcodeInPassword(void** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_manual_connect.c", + "line": 163, + "column": 23, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_none(void** unused) {}\n", + "source": "/mnt/host/tests/test_manual_connect.c:163:23: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_none(void** unused) {}\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/jwt/ClaimSet.hpp", + "line": 91, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override\n", + "source": "/mnt/host/tests/../cpp/jwt/ClaimSet.hpp:91:37: warning: unused parameter 'format' [-Wunused-parameter]\n inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/mnt/host/tests/../cpp/jwt/Header.hpp", + "line": 74, + "column": 37, + "message": " unused parameter 'format' ", + "flag": "-Wunused-parameter", + "snippet": " inline std::string serialize(bool format=true) override\n", + "source": "/mnt/host/tests/../cpp/jwt/Header.hpp:74:37: warning: unused parameter 'format' [-Wunused-parameter]\n inline std::string serialize(bool format=true) override\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_stream_splitter.cpp", + "line": 25, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_byte_array_stream(void **unused)\n", + "source": "/mnt/host/tests/test_unit_stream_splitter.cpp:25:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_byte_array_stream(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_stream_splitter.cpp", + "line": 44, + "column": 43, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_stream_splitter_appender(void **unused)\n", + "source": "/mnt/host/tests/test_unit_stream_splitter.cpp:44:43: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_stream_splitter_appender(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_get_describe_only_query_result.c", + "line": 15, + "column": 49, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_get_describe_only_query_result(void **unused) {\n", + "source": "/mnt/host/tests/test_get_describe_only_query_result.c:15:49: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_get_describe_only_query_result(void **unused) {\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_metadata_init.cpp", + "line": 111, + "column": 48, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int file_pattern_match_teardown(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_file_metadata_init.cpp:111:48: warning: unused parameter 'unused' [-Wunused-parameter]\n static int file_pattern_match_teardown(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_metadata_init.cpp", + "line": 118, + "column": 44, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int file_pattern_match_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_metadata_init.cpp:118:44: warning: unused parameter 'unused' [-Wunused-parameter]\n static int file_pattern_match_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_metadata_init.cpp", + "line": 135, + "column": 37, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_file_pattern_match(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_metadata_init.cpp:135:37: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_file_pattern_match(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_metadata_init.cpp", + "line": 153, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_metadata_init.cpp:153:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_file_metadata_init.cpp", + "line": 159, + "column": 31, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_teardown(void **unused)\n", + "source": "/mnt/host/tests/test_unit_file_metadata_init.cpp:159:31: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_teardown(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 32, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:32:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 33, + "column": 56, + "message": " unused parameter 'putGetParseResponse' ", + "flag": "-Wunused-parameter", + "snippet": " PutGetParseResponse *putGetParseResponse)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:33:56: warning: unused parameter 'putGetParseResponse' [-Wunused-parameter]\n PutGetParseResponse *putGetParseResponse)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 55, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:55:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 93, + "column": 48, + "message": " unused parameter 'sql' ", + "flag": "-Wunused-parameter", + "snippet": " virtual bool parsePutGetCommand(std::string *sql,\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:93:48: warning: unused parameter 'sql' [-Wunused-parameter]\n virtual bool parsePutGetCommand(std::string *sql,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 135, + "column": 60, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:135:60: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome upload(FileMetadata *fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 136, + "column": 61, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream *dataStream)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:136:61: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream *dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 149, + "column": 19, + "message": " unused parameter 'filePathFull' ", + "flag": "-Wunused-parameter", + "snippet": " std::string * filePathFull, FileMetadata *fileMetadata)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:149:19: warning: unused parameter 'filePathFull' [-Wunused-parameter]\n std::string * filePathFull, FileMetadata *fileMetadata)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 149, + "column": 47, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " std::string * filePathFull, FileMetadata *fileMetadata)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:149:47: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n std::string * filePathFull, FileMetadata *fileMetadata)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 154, + "column": 63, + "message": " unused parameter 'fileMetadata' ", + "flag": "-Wunused-parameter", + "snippet": " virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:154:63: warning: unused parameter 'fileMetadata' [-Wunused-parameter]\n virtual RemoteStorageRequestOutcome download(FileMetadata * fileMetadata,\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 155, + "column": 75, + "message": " unused parameter 'dataStream' ", + "flag": "-Wunused-parameter", + "snippet": " std::basic_iostream* dataStream)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:155:75: warning: unused parameter 'dataStream' [-Wunused-parameter]\n std::basic_iostream* dataStream)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 191, + "column": 36, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_simple_put_retry(void ** unused)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:191:36: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_simple_put_retry(void ** unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 211, + "column": 32, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_set_max_retry(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:211:32: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_set_max_retry(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_unit_put_retry.cpp", + "line": 216, + "column": 28, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " static int gr_setup(void **unused)\n", + "source": "/mnt/host/tests/test_unit_put_retry.cpp:216:28: warning: unused parameter 'unused' [-Wunused-parameter]\n static int gr_setup(void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/unit_test_ocsp/test_ocsp.c", + "line": 409, + "column": 55, + "message": " format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} ", + "flag": "-Wformat=", + "snippet": " fprintf(stderr, \"Delay check FAILED! Delayed %d seconds\\n\", end_time - start_time);\n", + "source": "/mnt/host/tests/unit_test_ocsp/test_ocsp.c:409:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=]\n fprintf(stderr, \"Delay check FAILED! Delayed %d seconds\\n\", end_time - start_time);\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_treemap.c", + "line": 14, + "column": 24, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_init( void **unused)\n", + "source": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_treemap.c:14:24: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_init( void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_treemap.c", + "line": 85, + "column": 9, + "message": " unused variable 'ret' ", + "flag": "-Wunused-variable", + "snippet": " int ret = cmocka_run_group_tests(tests, NULL, NULL);\n", + "source": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_treemap.c:85:9: warning: unused variable 'ret' [-Wunused-variable]\n int ret = cmocka_run_group_tests(tests, NULL, NULL);\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_rbtree.c", + "line": 14, + "column": 24, + "message": " unused parameter 'unused' ", + "flag": "-Wunused-parameter", + "snippet": " void test_init( void **unused)\n", + "source": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_rbtree.c:14:24: warning: unused parameter 'unused' [-Wunused-parameter]\n void test_init( void **unused)\n" + }, + { + "file_path": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_rbtree.c", + "line": 97, + "column": 9, + "message": " unused variable 'ret' ", + "flag": "-Wunused-variable", + "snippet": " int ret = cmocka_run_group_tests(tests, NULL, NULL);\n", + "source": "/mnt/host/tests/test_bind_datastructures/unit_tests/test_unit_rbtree.c:97:9: warning: unused variable 'ret' [-Wunused-variable]\n int ret = cmocka_run_group_tests(tests, NULL, NULL);\n" + } +] \ No newline at end of file diff --git a/cmake/flags.cmake b/cmake/flags.cmake new file mode 100644 index 0000000000..abd6d499b9 --- /dev/null +++ b/cmake/flags.cmake @@ -0,0 +1,41 @@ + +if (UNIX) + # Linux and OSX + if (USE_EXTRA_WARNINGS) + add_compile_options(-Wextra -Wall) + else () + add_compile_options(-Werror -Wno-error=deprecated-declarations) + if ("$ENV{GCCVERSION}" STRGREATER "9") + add_compile_options(-Wno-error=unused-result) + endif() + endif () +else() + # Windows + add_compile_options(/ZH:SHA_256 /guard:cf /Qspectre /sdl) + if ($ENV{ARROW_FROM_SOURCE}) + add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING BOOST_ALL_NO_LIB) + endif() +endif() + +if (LINUX) + # Profiler for Linux + if (NOT "$ENV{BUILD_WITH_PROFILE_OPTION}" STREQUAL "") + add_compile_options(-pg) + add_link_options(-pg) + endif () + + # Code coverage for Linux + if (CLIENT_CODE_COVERAGE) # Only when code coverage is enabled + message("Code coverage is enabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) + add_compile_options(--coverage -O0 $<$:-fno-elide-constructors> -fno-inline -fno-inline-small-functions -fno-default-inline) + add_link_options(--coverage) + else() + message("Code coverage is disabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE}) + endif () + + # Enable mocks + if (MOCK) + set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wl,--wrap=http_perform") + add_definitions(-DMOCK_ENABLED) + endif () +endif () diff --git a/cmake/platform.cmake b/cmake/platform.cmake new file mode 100644 index 0000000000..779bcd6864 --- /dev/null +++ b/cmake/platform.cmake @@ -0,0 +1,28 @@ + +if (UNIX AND NOT APPLE) + set(LINUX TRUE) +endif () + +if (LINUX) + set(PLATFORM linux) + message("Platform: Linux") +endif () + +if (APPLE) + set(PLATFORM darwin) + message("Platform: Apple OSX") +endif () + +if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64") + set(PLATFORM win64) + message("Platform: Windows 64bit") +endif () + +if ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") + set(PLATFORM win32) + message("Platform: Windows 32bit") + if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") + set (WIN32_DEBUG ON) + message("WIN32_DEBUG: ${WIN32_DEBUG}") + endif () +endif () diff --git a/scripts/build_libsnowflakeclient.sh b/scripts/build_libsnowflakeclient.sh index 67a7e3d391..90d466bc79 100755 --- a/scripts/build_libsnowflakeclient.sh +++ b/scripts/build_libsnowflakeclient.sh @@ -56,12 +56,16 @@ if [[ "$BUILD_SOURCE_ONLY" == "true" ]]; then cmake_opts+=("-DBUILD_TESTS=OFF") fi +if [[ "$USE_EXTRA_WARNINGS" == "true" ]]; then + cmake_opts+=("-DUSE_EXTRA_WARNINGS=1") +fi + if [[ "$ENABLE_MOCK_OBJECTS" == "true" ]]; then cmake_opts+=("-DMOCK=ON") fi $CMAKE ${cmake_opts[@]} .. -make +make 2>&1 | tee ../build.log BUILD_DIR=$DEPENDENCY_DIR/libsnowflakeclient rm -rf $BUILD_DIR diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b4a8fe9fc4..7eab19d7ea 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -158,10 +158,6 @@ if (UNIX) endif () if (LINUX) - if ($ENV{GCCVERSION} STRGREATER "9") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=unused-result") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=unused-result") - endif () # Group all arrow dependencies. set(ARROW_ALL_LIBS diff --git a/tests/unit_test_ocsp/CMakeLists.txt b/tests/unit_test_ocsp/CMakeLists.txt index 796f575120..dc86c5f3ad 100644 --- a/tests/unit_test_ocsp/CMakeLists.txt +++ b/tests/unit_test_ocsp/CMakeLists.txt @@ -1,11 +1,10 @@ project(test_ocsp) -set(CMAKE_C_FLAGS "-pthread -DSIMBA -D_REENTRANT -DCLUNIX -Wall") - add_executable( test_ocsp test_ocsp.c) target_link_libraries(test_ocsp ${TESTLIB_OPTS_C}) +target_compile_definitions(test_ocsp PRIVATE SIMBA _REENTRANT CLUNIX) add_test(test_ocsp test_ocsp) diff --git a/tests/unit_test_ocsp/test_ocsp.c b/tests/unit_test_ocsp/test_ocsp.c index 37306026fa..3d566453ef 100644 --- a/tests/unit_test_ocsp/test_ocsp.c +++ b/tests/unit_test_ocsp/test_ocsp.c @@ -406,7 +406,7 @@ int main(int argc, char **argv) // should be around 5 seconds but no longer than 10. if ((end_time - start_time) > 10) { - fprintf(stderr, "Delay check FAILED! Delayed %d seconds\n", end_time - start_time); + fprintf(stderr, "Delay check FAILED! Delayed %ld seconds\n", end_time - start_time); exit(1); } else