diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2019-08-01 23:50:26 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-08-02 08:58:35 +0200 |
commit | ac1408af5fde896cf0ed331063f99434d835f054 (patch) | |
tree | fa7a172331a96685753a5e3a1e0db339ffa989e8 /desktop-widgets/setpoint.ui | |
parent | 218567bb86f485c9ff7b851e2d9034cf6c4968ba (diff) | |
download | subsurface-ac1408af5fde896cf0ed331063f99434d835f054.tar.gz |
[smtk-import] avoid infinite loop on index failure
As Berthold points out, a failure to match the site or location index
will result in an infinite loop with previous patch.
With this one the loop will end after reading the last table row even if
no idx is matched. But ... If we asume this situation is possible the
retrieved data would be wrong, and ending the function without filling
the site structure is mandatory too.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'desktop-widgets/setpoint.ui')
0 files changed, 0 insertions, 0 deletions