From 74686f3feca85837b3ad2e21053d8376c6c20b43 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 24 Jan 2025 13:13:53 -0500 Subject: [PATCH] chore: reducing warnings Signed-off-by: Henry Schreiner --- awkward-cpp/CMakeLists.txt | 5 +++++ awkward-cpp/rapidjson | 2 +- awkward-cpp/src/libawkward/forth/ForthMachine.cpp | 2 -- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/awkward-cpp/CMakeLists.txt b/awkward-cpp/CMakeLists.txt index dcdb42106c..574d197f64 100644 --- a/awkward-cpp/CMakeLists.txt +++ b/awkward-cpp/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.15...3.30) +if(NOT DEFINED SKBUILD) + set(SKBUILD_PROJECT_NAME awkward_cpp) + set(SKBUILD_PROJECT_VERSION 0.0.0) +endif() + # Project must be near the top project( ${SKBUILD_PROJECT_NAME} diff --git a/awkward-cpp/rapidjson b/awkward-cpp/rapidjson index 3b2441b87f..d621dc9e9c 160000 --- a/awkward-cpp/rapidjson +++ b/awkward-cpp/rapidjson @@ -1 +1 @@ -Subproject commit 3b2441b87f99ab65f37b141a7b548ebadb607b96 +Subproject commit d621dc9e9c77f81e5c8a35b8dcc16dcd63351321 diff --git a/awkward-cpp/src/libawkward/forth/ForthMachine.cpp b/awkward-cpp/src/libawkward/forth/ForthMachine.cpp index c6b481cf7c..03d1a9debb 100644 --- a/awkward-cpp/src/libawkward/forth/ForthMachine.cpp +++ b/awkward-cpp/src/libawkward/forth/ForthMachine.cpp @@ -1684,13 +1684,11 @@ namespace awkward { throw std::invalid_argument( std::string("unclosed string after .\" or s\" word") + FILENAME(__LINE__)); } - int64_t nextline = line; current = source_[stop]; start = stop; colstart = colstop; while (current != '\"' || source_[stop - 1] == '\\') { if (current == '\n') { - nextline++; colstart = 0; colstop = 0; }