db_text: fix clang compiler warning