summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2010-01-23 23:01:06 (GMT)
committer Don Pellegrino <don@drexel.edu>2010-01-23 23:01:06 (GMT)
commitff28b9c88cbcb4d5f715efedbc2b2bd486d3d789 (patch) (unidiff)
tree27169dc725193e762491977726b1776ea7197f2f
parentd2dda50ed620d93cb1c3c9705b3379c3507b8d9c (diff)
downloadexp007-ff28b9c88cbcb4d5f715efedbc2b2bd486d3d789.zip
exp007-ff28b9c88cbcb4d5f715efedbc2b2bd486d3d789.tar.gz
exp007-ff28b9c88cbcb4d5f715efedbc2b2bd486d3d789.tar.bz2
Minimized the scope of sequence_data_field_names.
-rw-r--r--src/load/load_influenza_faa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/load/load_influenza_faa.c b/src/load/load_influenza_faa.c
index 0026d11..c44a671 100644
--- a/src/load/load_influenza_faa.c
+++ b/src/load/load_influenza_faa.c
@@ -58,9 +58,6 @@ load_influenza_faa (hid_t file_id, const char *file_name)
58 strncpy (p_data.description, strsep (&running, "|"),58 strncpy (p_data.description, strsep (&running, "|"),
59 sizeof (p_data.description));59 sizeof (p_data.description));
6060
61 const char *sequence_data_field_names[SEQUENCE_DATA_FIELD_NUM] =
62 SEQUENCE_DATA_FIELD_NAMES;
63
64 if (current_line == 1)61 if (current_line == 1)
65 {62 {
66 /*63 /*
@@ -93,6 +90,9 @@ load_influenza_faa (hid_t file_id, const char *file_name)
93 */90 */
94 else91 else
95 {92 {
93 const char *sequence_data_field_names[SEQUENCE_DATA_FIELD_NUM] =
94 SEQUENCE_DATA_FIELD_NAMES;
95
96 herr_t status = H5TBmake_table ("influenza.faa", file_id,96 herr_t status = H5TBmake_table ("influenza.faa", file_id,
97 "influenza.faa",97 "influenza.faa",
98 SEQUENCE_DATA_FIELD_NUM, 1,98 SEQUENCE_DATA_FIELD_NUM, 1,

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.