From 225fd07b15b5fc2a61eced5a7a4e6342320ee495 Mon Sep 17 00:00:00 2001 From: pschmidtke Date: Thu, 23 Nov 2023 08:41:56 +0100 Subject: [PATCH] issue-80 dropping useless lines --- headers/rpdb.h | 2 +- src/rpdb.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/headers/rpdb.h b/headers/rpdb.h index 05d6a45..da82a11 100644 --- a/headers/rpdb.h +++ b/headers/rpdb.h @@ -142,7 +142,7 @@ s_min_max_coords *float_get_min_max_from_pdb(s_pdb *pdb); void init_coord_grid(s_pdb *pdb); void create_coord_grid(s_pdb *pdb); void fill_coord_grid(s_pdb *pdb); -s_atom_ptr_list *init_atom_ptr_list(void); +// s_atom_ptr_list *init_atom_ptr_list(void); short get_mm_type_from_element(char *symbol); diff --git a/src/rpdb.c b/src/rpdb.c index ded2331..44f9dc3 100644 --- a/src/rpdb.c +++ b/src/rpdb.c @@ -277,7 +277,6 @@ void init_coord_grid(s_pdb *pdb) g->atom_ptr[cx][cy] = (s_atom_ptr_list *)my_malloc(sizeof(s_atom_ptr_list) * g->nz); for (cz = 0; cz < g->nz; cz++) { - // g->atom_ptr[cx][cy][cz] = *init_atom_ptr_list(); g->atom_ptr[cx][cy][cz].natoms = 0; g->atom_ptr[cx][cy][cz].latoms = (s_atm **)my_malloc(sizeof(s_atm *)); }