ubports / ubuntu-ui-toolkit

Moved to https://gitlab.com/ubports/core/lomiri-ui-toolkit
https://gitlab.com/ubports/core/lomiri-ui-toolkit
GNU Lesser General Public License v3.0
13 stars 21 forks source link

Fix missing sentinel warning #73

Closed z3ntu closed 4 years ago

z3ntu commented 4 years ago
ucurihandler.cpp: In constructor 'UCUriHandler::UCUriHandler()':
ucurihandler.cpp:78:73: error: missing sentinel in function call [-Werror=format=]
   78 |     char* path = nih_dbus_path(NULL, , applicationId.constData(), NULL);
      |                                                                         ^
gerboland commented 4 years ago

nullptr would be more C++ choice