summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixlib/mix_code_file.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mixlib/mix_code_file.c b/mixlib/mix_code_file.c
index 8a50a41..71a4ba4 100644
--- a/mixlib/mix_code_file.c
+++ b/mixlib/mix_code_file.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mix_code_file.c :
* Implementation of the functions declared in mix_code_file.h
* ------------------------------------------------------------------
- * $Id: mix_code_file.c,v 1.4 2003/06/03 22:33:22 jao Exp $
+ * $Id: mix_code_file.c,v 1.5 2003/06/04 01:33:24 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
*
@@ -203,16 +203,13 @@ mix_code_file_delete (mix_code_file_t *file)
g_free (file);
}
-
-
/* get general parameters from a code file */
gboolean
mix_code_file_is_debug (const mix_code_file_t *file)
{
- return (file == NULL ) ? FALSE : IS_DEBUG_ (file);
+ return (file != NULL) && IS_DEBUG_ (file);
}
-
gint
mix_code_file_major_version (const mix_code_file_t *file)
{