[Groonga-commit] groonga/grngo at 1c0a0c6 [master] Remove meaningless semicolons.

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 24 00:09:25 JST 2015


susumu.yata	2015-07-24 00:09:25 +0900 (Fri, 24 Jul 2015)

  New Revision: 1c0a0c6d2d3540f96d2b704173daa0ae5d610774
  https://github.com/groonga/grngo/commit/1c0a0c6d2d3540f96d2b704173daa0ae5d610774

  Message:
    Remove meaningless semicolons.

  Modified files:
    grngo.go

  Modified: grngo.go (+4 -4)
===================================================================
--- grngo.go    2015-07-22 18:43:59 +0900 (ebe9a7e)
+++ grngo.go    2015-07-24 00:09:25 +0900 (5e779be)
@@ -442,10 +442,10 @@ func CreateDB(path string) (*DB, error) {
 	pathBytes := []byte(path)
 	var cPath *C.char
 	if len(pathBytes) != 0 {
-		cPath = (*C.char)(unsafe.Pointer(&pathBytes[0]));
+		cPath = (*C.char)(unsafe.Pointer(&pathBytes[0]))
 	}
 	var c *C.grngo_db
-	rc := C.grngo_create_db(cPath, C.size_t(len(pathBytes)), &c);
+	rc := C.grngo_create_db(cPath, C.size_t(len(pathBytes)), &c)
 	if (rc != C.GRN_SUCCESS) {
 		GrnFin()
 		return nil, newGrnError("grngo_create_db()", rc, nil)
@@ -465,10 +465,10 @@ func OpenDB(path string) (*DB, error) {
 	pathBytes := []byte(path)
 	var cPath *C.char
 	if len(pathBytes) != 0 {
-		cPath = (*C.char)(unsafe.Pointer(&pathBytes[0]));
+		cPath = (*C.char)(unsafe.Pointer(&pathBytes[0]))
 	}
 	var c *C.grngo_db
-	rc := C.grngo_open_db(cPath, C.size_t(len(pathBytes)), &c);
+	rc := C.grngo_open_db(cPath, C.size_t(len(pathBytes)), &c)
 	if (rc != C.GRN_SUCCESS) {
 		GrnFin()
 		return nil, newGrnError("grngo_open_db()", rc, nil)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index