[shellprocess] Reduce warnings

- The old-style cast still causes a warning, but do the
   more idiomatic (void) rather then casting to (void*)
main
Adriaan de Groot 6 years ago
parent 6cfb5a9c88
commit 189e192c83

@ -176,9 +176,9 @@ script:
)" ) ).toMap().value( "script" );
if ( !Calamares::JobQueue::instance() )
(void *)new Calamares::JobQueue( nullptr );
(void)new Calamares::JobQueue( nullptr );
if ( !Calamares::Settings::instance() )
(void *)new Calamares::Settings( QString(), true );
(void)new Calamares::Settings( QString(), true );
Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();
QVERIFY( gs != nullptr );

Loading…
Cancel
Save