Permalink
Browse files

Remove outdated TODO comments

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  • Loading branch information...
1 parent 253eccf commit 4d117517c5e28924b9bef659398012fa1afc667e @yanhan committed Jun 15, 2011
Showing with 2 additions and 8 deletions.
  1. +1 −2 conf.c
  2. +0 −2 curl.c
  3. +0 −1 hash.c
  4. +1 −3 sync.c
View
@@ -135,8 +135,7 @@ static void parse_pmoption_keyval(int *flag, int *flag_com, char *line,
}
}
-/* TODO: Get rid of this parsing comments shit quick.
- * A lot of hell can break loose.
+/* A lot of hell can break loose.
*/
static void free_cachedir(void **cachedir)
{
View
@@ -36,8 +36,6 @@ CURL *curl_easy_new(void)
void curl_reset(CURL *curl)
{
curl_easy_reset(curl);
-
- /* TODO: Shift this to conf file */
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 10L);
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L);
}
View
@@ -165,7 +165,6 @@ int hash_pos(struct hash_table *htable, void *data)
alpm_list_t *hash_to_list(struct hash_table *htable)
{
alpm_list_t *data_list = NULL;
- /* TODO: Remove type variable */
if (htable->type != HASH_TABLE) {
return NULL;
}
View
@@ -468,8 +468,7 @@ static alpm_list_t *topo_get_targets(struct pw_hashdb *hashdb, struct graph *gra
return final_targets;
}
-/* TODO: Resolve all deps instead of one by one
- * -Su, experimental feature
+/* -Su
* @param targets list of strings
* @param hashdb hash database
*/
@@ -511,7 +510,6 @@ static int upgrade_pkgs(alpm_list_t *targets, struct pw_hashdb *hashdb)
goto cleanup;
}
- /* TODO: Remove this? Not too informative for users */
final_targets = topo_get_targets(hashdb, graph, topost);
if (final_targets) {
topo_install(hashdb, final_targets);

0 comments on commit 4d11751

Please sign in to comment.