Bug 229858 - Silence more -Wreturn-type warnings
Summary: Silence more -Wreturn-type warnings
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-03 04:38 PDT by Michael Catanzaro
Modified: 2021-09-03 05:08 PDT (History)
2 users (show)

See Also:


Attachments
Patch for landing (1.96 KB, patch)
2021-09-03 04:38 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2021-09-03 04:38:00 PDT
[677/2449] Building CXX object Source/...ources/UnifiedSource-f2e18ffc-38.cpp.o
In file included from JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f2e18ffc-38.cpp:2:
../../Source/JavaScriptCore/runtime/TemporalObject.cpp: In function ‘double JSC::roundNumberToIncrement(double, double, JSC::RoundingMode)’:
../../Source/JavaScriptCore/runtime/TemporalObject.cpp:331:1: warning: control reaches end of non-void function [-Wreturn-type]
  331 | }
      | ^
[687/2449] Building CXX object Source/...ources/UnifiedSource-f2e18ffc-37.cpp.o
In file included from JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f2e18ffc-37.cpp:6:
../../Source/JavaScriptCore/runtime/TemporalDuration.cpp: In function ‘JSC::PropertyName JSC::propertyName(JSC::VM&, unsigned int)’:
../../Source/JavaScriptCore/runtime/TemporalDuration.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
   45 | }
      | ^
Comment 1 Michael Catanzaro 2021-09-03 04:38:38 PDT
Created attachment 437260 [details]
Patch for landing
Comment 2 EWS 2021-09-03 05:07:25 PDT
Committed r281986 (241293@main): <https://commits.webkit.org/241293@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437260 [details].
Comment 3 Radar WebKit Bug Importer 2021-09-03 05:08:23 PDT
<rdar://problem/82719186>