LCOV - code coverage report
Current view: top level - egg - egg-error.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 3 0
Test Date: 2024-09-14 11:48:09 Functions: 0.0 % 1 0

            Line data    Source code
       1              : /*
       2              :  * gnome-keyring
       3              :  *
       4              :  * Copyright (C) 2010 Stefan Walter
       5              :  *
       6              :  * This program is free software; you can redistribute it and/or modify
       7              :  * it under the terms of the GNU Lesser General Public License as
       8              :  * published by the Free Software Foundation; either version 2.1 of
       9              :  * the License, or (at your option) any later version.
      10              :  *
      11              :  * This program is distributed in the hope that it will be useful, but
      12              :  * WITHOUT ANY WARRANTY; without even the implied warranty of
      13              :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      14              :  * Lesser General Public License for more details.
      15              :  *
      16              :  * You should have received a copy of the GNU Lesser General Public
      17              :  * License along with this program; if not, see
      18              :  * <http://www.gnu.org/licenses/>.
      19              :  */
      20              : 
      21              : #ifndef EGG_ERROR_H_
      22              : #define EGG_ERROR_H_
      23              : 
      24              : #include <glib.h>
      25              : 
      26              : static inline const gchar*
      27            0 : egg_error_message (GError *error)
      28              : {
      29            0 :         g_return_val_if_fail (error, "(unknown)");
      30            0 :         return error->message ? error->message : "(null)";
      31              : }
      32              : 
      33              : #endif /* EGG_ERROR_H_ */
        

Generated by: LCOV version 2.0-1