⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280697 in webkit


Ignore:
Timestamp:
Aug 5, 2021, 9:44:10 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Suppress more -Wreturn-type warnings
https://bugs.webkit.org/show_bug.cgi?id=228831

Unreviewed.

Patch by Michael Catanzaro <Michael Catanzaro> on 2021-08-05

  • platform/KeyboardScrollingAnimator.cpp:

(WebCore::KeyboardScrollingAnimator::keyboardScrollForKeyboardEvent const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r280689 r280697  
     12021-08-05  Michael Catanzaro  <mcatanzaro@gnome.org>
     2
     3        Suppress more -Wreturn-type warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=228831
     5
     6        Unreviewed.
     7
     8        * platform/KeyboardScrollingAnimator.cpp:
     9        (WebCore::KeyboardScrollingAnimator::keyboardScrollForKeyboardEvent const):
     10
    1112021-08-05  Michael Catanzaro  <mcatanzaro@gnome.org>
    212
  • trunk/Source/WebCore/platform/KeyboardScrollingAnimator.cpp

    r280501 r280697  
    192192            return ScrollGranularity::ScrollByPage;
    193193        };
     194        RELEASE_ASSERT_NOT_REACHED();
    194195    }();
    195196
     
    207208            return event.shiftKey() ? ScrollDirection::ScrollUp : ScrollDirection::ScrollDown;
    208209        }
     210        RELEASE_ASSERT_NOT_REACHED();
    209211    }();
    210212
Note: See TracChangeset for help on using the changeset viewer.