osrm-backend/include
Daniel J. Hofmann 7f71f0ed12 Warn on unused return values in guidance code, resolves #2686.
https://github.com/Project-OSRM/osrm-backend/pull/2685/files

fixes an issue where we did

    elongate(fstStep, sndStep);

instead of

    newStep = elongate(fstStep, sndStep);

we didn't get any warnings.

The only way to trigger a warning here is to use

```cpp
__attribute__((warn_unused_result))
```

This changeset does exactly that: for the new guidance code prone to
these kind of issue we add such an attribute to the declaration.
2016-08-03 12:26:07 +02:00
..
contractor Fix platform-independent data in data files 2016-06-20 22:45:40 +02:00
engine Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
extractor Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
osrm Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
server Use mmap instead of read - it's a lot faster here. 2016-06-27 17:24:30 -07:00
storage expose lanes as enums, adjusted for comments 2016-06-27 11:12:02 +02:00
util Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00