diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-11 13:43:10 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-11 13:43:10 +0000 |
commit | 8901c8a57fe14f9367ec857a15df52d726eafe3a (patch) | |
tree | 5a3f14e441d313d974c851148046926980840510 /archival/dpkg.c | |
parent | b0d29d120d2e9dbdc67cbaaf47a6b542d6095679 (diff) | |
download | busybox-w32-8901c8a57fe14f9367ec857a15df52d726eafe3a.tar.gz busybox-w32-8901c8a57fe14f9367ec857a15df52d726eafe3a.tar.bz2 busybox-w32-8901c8a57fe14f9367ec857a15df52d726eafe3a.zip |
kill superfluous returns at the end of void functions
git-svn-id: svn://busybox.net/trunk/busybox@18066 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index c86c583ab..9f7818ccf 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -706,7 +706,6 @@ static void set_status(const unsigned status_node_num, const char *new_value, co | |||
706 | new_status = xasprintf("%s %s %s", name_hashtable[want], name_hashtable[flag], name_hashtable[status]); | 706 | new_status = xasprintf("%s %s %s", name_hashtable[want], name_hashtable[flag], name_hashtable[status]); |
707 | status_hashtable[status_node_num]->status = search_name_hashtable(new_status); | 707 | status_hashtable[status_node_num]->status = search_name_hashtable(new_status); |
708 | free(new_status); | 708 | free(new_status); |
709 | return; | ||
710 | } | 709 | } |
711 | 710 | ||
712 | static const char *describe_status(int status_num) { | 711 | static const char *describe_status(int status_num) { |
@@ -763,7 +762,6 @@ static void index_status_file(const char *filename) | |||
763 | free(control_buffer); | 762 | free(control_buffer); |
764 | } | 763 | } |
765 | fclose(status_file); | 764 | fclose(status_file); |
766 | return; | ||
767 | } | 765 | } |
768 | 766 | ||
769 | static void write_buffer_no_status(FILE *new_status_file, const char *control_buffer) | 767 | static void write_buffer_no_status(FILE *new_status_file, const char *control_buffer) |
@@ -780,7 +778,6 @@ static void write_buffer_no_status(FILE *new_status_file, const char *control_bu | |||
780 | fprintf(new_status_file, "%s: %s\n", name, value); | 778 | fprintf(new_status_file, "%s: %s\n", name, value); |
781 | } | 779 | } |
782 | } | 780 | } |
783 | return; | ||
784 | } | 781 | } |
785 | 782 | ||
786 | /* This could do with a cleanup */ | 783 | /* This could do with a cleanup */ |
@@ -1425,8 +1422,6 @@ static void init_archive_deb_control(archive_handle_t *ar_handle) | |||
1425 | 1422 | ||
1426 | /* Assign the tar handle as a subarchive of the ar handle */ | 1423 | /* Assign the tar handle as a subarchive of the ar handle */ |
1427 | ar_handle->sub_archive = tar_handle; | 1424 | ar_handle->sub_archive = tar_handle; |
1428 | |||
1429 | return; | ||
1430 | } | 1425 | } |
1431 | 1426 | ||
1432 | static void init_archive_deb_data(archive_handle_t *ar_handle) | 1427 | static void init_archive_deb_data(archive_handle_t *ar_handle) |
@@ -1447,8 +1442,6 @@ static void init_archive_deb_data(archive_handle_t *ar_handle) | |||
1447 | 1442 | ||
1448 | /* Assign the tar handle as a subarchive of the ar handle */ | 1443 | /* Assign the tar handle as a subarchive of the ar handle */ |
1449 | ar_handle->sub_archive = tar_handle; | 1444 | ar_handle->sub_archive = tar_handle; |
1450 | |||
1451 | return; | ||
1452 | } | 1445 | } |
1453 | 1446 | ||
1454 | static char *deb_extract_control_file_to_buffer(archive_handle_t *ar_handle, llist_t *myaccept) | 1447 | static char *deb_extract_control_file_to_buffer(archive_handle_t *ar_handle, llist_t *myaccept) |
@@ -1472,7 +1465,6 @@ static void data_extract_all_prefix(archive_handle_t *archive_handle) | |||
1472 | archive_handle->file_header->name = xasprintf("%s%s", archive_handle->buffer, name_ptr); | 1465 | archive_handle->file_header->name = xasprintf("%s%s", archive_handle->buffer, name_ptr); |
1473 | data_extract_all(archive_handle); | 1466 | data_extract_all(archive_handle); |
1474 | } | 1467 | } |
1475 | return; | ||
1476 | } | 1468 | } |
1477 | 1469 | ||
1478 | static void unpack_package(deb_file_t *deb_file) | 1470 | static void unpack_package(deb_file_t *deb_file) |