ros-geographic-info / unique_identifier

ROS support for Universally Unique Identifiers
http://ros.org/wiki/unique_identifier
16 stars 19 forks source link

Strict Compiler Error #15

Open davelkan-zz opened 5 years ago

davelkan-zz commented 5 years ago

https://github.com/ros-geographic-info/unique_identifier/blob/master/unique_id/include/unique_id/unique_id.h#L89

Stricter compilers that come standard in bionic don't like this line.

include/unique_id/unique_id.h:89:10: error: 'uu' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   return uu;
          ^~