Skip to content

Commit af13ccb

Browse files
Fix various warnings (#2002)
* Fix various warnings Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com> * Revert changes Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com> --------- Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com>
1 parent d793d6f commit af13ccb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# FindPython's Development.Module component was added in 3.18.
22
# Require 3.18.2+ because pybind11 recommends it.
33
cmake_minimum_required(VERSION 3.18.2)
4+
# This policy CMP0177 can be removed when we upgrade to CMake >= 3.31.
5+
cmake_policy(SET CMP0177 NEW)
46

57
#------------------------------------------------------------------------------
68
# Project Metadata

src/opentimelineio/serializableObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class OTIO_API_TYPE SerializableObject
162162
template <typename T>
163163
bool read(std::string const& key, Retainer<T>* dest)
164164
{
165-
SerializableObject* so;
165+
SerializableObject* so = nullptr;
166166
if (!read(key, &so))
167167
{
168168
return false;

0 commit comments

Comments
 (0)