Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3331

warning: ‘etype’ may be used uninitialized in this function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.3
    • 0.9.3
    • C glib - Compiler
    • None
    • openSuse 13.2

    • Patch Available

    Description

      Compiling the compiler produces this warning:

      src/generate/t_c_glib_generator.cc: In member function ‘void t_c_glib_generator::generate_object(t_struct*)’:
      src/generate/t_c_glib_generator.cc:3122:59: warning: ‘etype’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 if ((etype->is_base_type() && !etype->is_string())
      

      Attachments

        Activity

          People

            simonsouth Simon South
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: