diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-21 12:22:51 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-22 20:09:36 +0200 |
commit | bd2d932439ba5daf28dcf24c50083ca23aadf9db (patch) | |
tree | 3cf9b2ee2f700b8ee27308c82bf2036d3e613e27 /src/3rdparty/rfc6234 | |
parent | afe416c4e156247c864a7140c59f825f0914f1b8 (diff) |
Tidy up in OCI driver code
Use nullptr instead of 0 for null pointers.
Compare OCIHandleAlloc() return values to OCI_SUCCESS rather than 0.
Initialize instance variables in the class where possible, rather than
in the constructor. Conform to coding style o long lines and braces.
Assert pointers are null before allocating and overwriting them, so we
might have a chance of catching leaks.
Change-Id: Ia885ec18f46de5219a51fb6f9f23f474b3046585
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/3rdparty/rfc6234')
0 files changed, 0 insertions, 0 deletions