Skip to content

Commit d233f19

Browse files
GH-48866: Add inline keywoard to fix the warning
1 parent 318ce7f commit d233f19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/src/gandiva/precompiled/time.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ bool is_valid_time(const int hours, const int minutes, const int seconds) {
570570
// Normalize sub-seconds value to milliseconds precision (3 digits).
571571
// Truncates if more than 3 digits are provided, pads with zeros if fewer than 3 digits
572572
ARROW_FORCE_INLINE
573-
static int32_t normalize_subseconds_to_millis(int32_t subseconds, int32_t num_digits) {
573+
static inline int32_t normalize_subseconds_to_millis(int32_t subseconds,
574+
int32_t num_digits) {
574575
if (num_digits <= 0 || num_digits == 3) {
575576
// No need to adjust
576577
return subseconds;

0 commit comments

Comments
 (0)