Re: [PATCH phonesim 13/13] Use bool literals

2019-11-18 Thread Denis Kenzior

Hi Jonah,

On 11/12/19 3:37 PM, Jonah BrĂ¼chert wrote:

Done using the modernize-use-bool-literals of clang-tidy
---
  src/qsmsmessage.cpp | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



Applied, thanks.

Regards,
-Denis
___
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org


[PATCH phonesim 13/13] Use bool literals

2019-11-12 Thread Jonah BrĂ¼chert
Done using the modernize-use-bool-literals of clang-tidy
---
 src/qsmsmessage.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qsmsmessage.cpp b/src/qsmsmessage.cpp
index 1d0f733..06845bf 100644
--- a/src/qsmsmessage.cpp
+++ b/src/qsmsmessage.cpp
@@ -1565,7 +1565,7 @@ bool QPDUMessage::bit(int b)
 if ( needOctets(1) )
 return (mBuffer[mPosn] & (Unit << b));
 else
-return 0;
+return false;
 }

 unsigned char QPDUMessage::bits(int offset, int len)
--
2.24.0
___
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org