Commit 4c6667ba authored by Naba Kumar's avatar Naba Kumar

Disabled debug warnings.

	* tagmanager/tm_source_file.c,
	  tagmanager/parse.c,
	  tagmanager/tm_project.c,
	  src/an_symbol_view.c,
	  src/anjuta.c:

	  Disabled debug warnings.
parent 931ebfd4
2002-01-21 Naba Kumar <kh_naba@users.sourceforge.net>
* tagmanager/tm_source_file.c,
tagmanager/parse.c,
tagmanager/tm_project.c,
src/an_symbol_view.c,
src/anjuta.c:
Disabled debug warnings.
2002-01-21 Naba Kumar <kh_naba@users.sourceforge.net>
* src/appwiz_page1.c
......
......@@ -322,7 +322,7 @@ AnSymbolView *sv_populate(TMProject *tm_proj)
{
sv_connect();
sv_thaw();
g_warning("No project. Returning..");
/* g_warning("No project. Returning.."); */
return sv;
}
......@@ -334,7 +334,7 @@ AnSymbolView *sv_populate(TMProject *tm_proj)
{
sv_connect();
sv_thaw();
g_warning("No symbol tree. Returning..");
/* g_warning("No symbol tree. Returning.."); */
return sv;
}
}
......
......@@ -790,8 +790,11 @@ anjuta_show ()
g_free (key);
update_gtk ();
/*
anjuta_message_manager_append (app->messages,
_("CVS is not yet implemented. :-(\n"), MESSAGE_CVS);
*/
if (app->dirs->first_time)
{
......
......@@ -628,22 +628,21 @@ extern boolean parseFile (const char *const fileName)
if (Option.language == LANG_AUTO)
language = getFileLanguage (fileName);
Assert (language != LANG_AUTO);
if (language == LANG_IGNORE)
verbose ("ignoring %s (unknown language)\n", fileName);
else if (! LanguageTable [language]->enabled)
verbose ("ignoring %s (language disabled)\n", fileName);
else
{
if (Option.filter)
openTagFile ();
tagFileResized = createTagsWithFallback (fileName, language);
if (Option.filter)
closeTagFile (tagFileResized);
addTotals (1, 0L, 0L);
return tagFileResized;
if (language == LANG_IGNORE) {
/* verbose ("ignoring %s (unknown language)\n", fileName); */
} else if (! LanguageTable [language]->enabled) {
/* verbose ("ignoring %s (language disabled)\n", fileName); */
} else {
if (Option.filter)
openTagFile ();
tagFileResized = createTagsWithFallback (fileName, language);
if (Option.filter)
closeTagFile (tagFileResized);
addTotals (1, 0L, 0L);
return tagFileResized;
}
return tagFileResized;
}
......
......@@ -366,7 +366,9 @@ gboolean tm_project_autoscan(TMProject *project)
char *dir_name;
gboolean status = FALSE;
g_return_val_if_fail(project && project->dir, FALSE);
g_return_val_if_fail(project, FALSE);
g_return_val_if_fail(project->dir, FALSE);
dir_name = project->dir;
for (i = 0; i < sizeof(makefile)/sizeof(char *); ++i)
{
......@@ -379,7 +381,7 @@ gboolean tm_project_autoscan(TMProject *project)
}
if (!status)
{
g_warning("%s if not a top level project directory", dir_name);
/* g_warning("%s if not a top level project directory", dir_name); */
return FALSE;
}
for (i=0; i < sizeof(extn)/sizeof(char *); ++i)
......
......@@ -92,11 +92,11 @@ gboolean tm_source_file_parse(TMSourceFile *source_file)
current_source_file = source_file;
if (LANG_AUTO == source_file->lang)
source_file->lang = getFileLanguage (file_name);
if (source_file->lang == LANG_IGNORE)
g_warning("ignoring %s (unknown language)\n", file_name);
else if (! LanguageTable [source_file->lang]->enabled)
g_warning("ignoring %s (language disabled)\n", file_name);
else
if (source_file->lang == LANG_IGNORE) {
/* g_warning("ignoring %s (unknown language)\n", file_name); */
} else if (! LanguageTable [source_file->lang]->enabled) {
/* g_warning("ignoring %s (language disabled)\n", file_name); */
} else
{
int passCount = 0;
if (LanguageTable[source_file->lang]->initialize != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment