cbson has compile warnings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.12
    • Affects Version/s: 1.10.1
    • Component/s: None
    • None
    • Environment:
      Linux x64
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ../../../../ext/cbson/cbson.c: In function ‘write_element’:
      ../../../../ext/cbson/cbson.c:179:31: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
       #define INT2STRING(buffer, i) asprintf(buffer, "%d", i);
                                     ^
      ../../../../ext/cbson/cbson.c:401:17: note: in expansion of macro ‘INT2STRING’
                       INT2STRING(&name, i);
                       ^
      

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: