diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-08-09 18:32:18 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2017-08-10 11:27:49 +0300 |
commit | 3659b7d642f657e6ce054f36d05def98be36e980 (patch) | |
tree | e91f046fc8687f3bb9034e723468652f3c9bc99d /drape/hw_texture_ios.mm | |
parent | 46530363dbf70c6460562cdf33168e15f2646341 (diff) |
Minor warning fixes.
Diffstat (limited to 'drape/hw_texture_ios.mm')
-rw-r--r-- | drape/hw_texture_ios.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drape/hw_texture_ios.mm b/drape/hw_texture_ios.mm index 87951b8a7a..f51430cf79 100644 --- a/drape/hw_texture_ios.mm +++ b/drape/hw_texture_ios.mm @@ -53,8 +53,8 @@ CVPixelBufferRef HWTextureAllocatorApple::CVCreatePixelBuffer(uint32_t width, ui CFDictionaryRef attrsRef = (__bridge CFDictionaryRef)attrs; - CVPixelBufferRef result; - CVReturn cvRetval; + CVPixelBufferRef result = nullptr; + CVReturn cvRetval = 0; switch (format) { case dp::RGBA8: |