Phil Carmody 758d8e4634 UBI: eliminate possible undefined behaviour
The assignment to pos when rb is finally NULL is undefined behaviour.
Upon seeing that assignment, GCC may assume that rb is not NULL, and
the loop condition ``rb'' may be optimised away.

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-08-14 20:01:36 +03:00
..
2009-07-07 11:37:45 +03:00
2009-06-02 13:53:35 +03:00
2009-07-05 18:47:05 +03:00
2009-07-24 20:08:52 +03:00
2009-07-15 11:30:55 +03:00
2009-08-14 20:01:36 +03:00
2009-06-02 13:53:35 +03:00
2009-06-03 17:45:23 +03:00
2009-01-27 16:54:41 +02:00
2009-06-03 17:45:23 +03:00
2009-05-18 12:28:26 +03:00
2009-06-02 13:53:35 +03:00
2009-07-05 18:47:05 +03:00