Skip to content

Commit

Permalink
chore: reducing warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jan 24, 2025
1 parent 08c7789 commit 74686f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions awkward-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion awkward-cpp/rapidjson
Submodule rapidjson updated 150 files
2 changes: 0 additions & 2 deletions awkward-cpp/src/libawkward/forth/ForthMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 74686f3

Please sign in to comment.