[shellprocess] Reduce warnings
- The old-style cast still causes a warning, but do the more idiomatic (void) rather then casting to (void*)
This commit is contained in:
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…
Reference in New Issue
Block a user