]>
andersk Git - splint.git/blame_incremental - test/tests2.2a/addassign.c
... / ...
Commit | Line | Data |
| 1 | int hash (char *name) |
| 2 | { |
| 3 | int h = 0; |
| 4 | |
| 5 | while (*name != '\0') |
| 6 | { |
| 7 | h += *name++; /* error in 2.1b */ |
| 8 | } |
| 9 | |
| 10 | return h % 137; |
| 11 | } |
This page took 0.033207 seconds and 5 git commands to generate.