Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2266

Superfluous `off` in mongoc_buffer_t

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:

      The mongoc_buffer_t contains an unused field, off, which no longer (if ever) does anything.
      It is still referenced to though in some of the math calculations, making it a bit confusing since the value is always 0.

      We should remove this field

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: