Changeset 41627 in webkit for trunk/JavaScriptCore/jsc.cpp


Ignore:
Timestamp:
Mar 12, 2009, 8:26:20 AM (16 years ago)
Author:
[email protected]
Message:

Add NO_RETURN attribute to runInteractive() when not using readline

Reviewed by Darin Adler.

  • jsc.cpp: (runInteractive): If the readline library is not used, this method will never return, thus the NO_RETURN attribute is needed to prevent a gcc warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jsc.cpp

    r41219 r41627  
    380380}
    381381
    382 static void runInteractive(GlobalObject* globalObject)
     382static
     383#if !HAVE(READLINE)
     384NO_RETURN
     385#endif
     386void runInteractive(GlobalObject* globalObject)
    383387{
    384388    while (true) {
Note: See TracChangeset for help on using the changeset viewer.