| 999 | } |
| 1000 | |
| 1001 | static void remove_locks(void) |
| 1002 | { |
| 1003 | struct remote_lock *lock = repo->locks; |
| 1004 | |
| 1005 | fprintf(stderr, "Removing remote locks...\n"); |
| 1006 | while (lock) { |
| 1007 | struct remote_lock *next = lock->next; |
| 1008 | unlock_remote(lock); |
| 1009 | lock = next; |
| 1010 | } |
| 1011 | } |
| 1012 | |
| 1013 | static void remove_locks_on_signal(int signo) |
| 1014 | { |
no test coverage detected